-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
241 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,86 @@ | ||
@echo on | ||
|
||
rem We need to create an out of source build | ||
mkdir ../build | ||
|
||
if errorlevel 1 exit 1 | ||
md %TMPDIR%\build | ||
|
||
cd ../build | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
if errorlevel 1 exit 1 | ||
cd %TMPDIR%\build | ||
|
||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
rem Ensure desired Boost version is selected by CMake | ||
set "BOOST_ROOT=%PREFIX%" | ||
set "BOOST_NO_SYSTEM_PATHS=ON" | ||
|
||
|
||
cmake %SRC_DIR% -G"Ninja" ^ | ||
cmake %SRC_DIR% ^ | ||
-G "Visual Studio 16 2019" -A x64 ^ | ||
-D FETCHCONTENT_QUIET=FALSE ^ | ||
-D CMAKE_BUILD_TYPE=Release ^ | ||
-D CMAKE_PREFIX_PATH:PATH="%LIBRARY_PREFIX%" ^ | ||
-D CMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^ | ||
-D LUE_DATA_MODEL_WITH_PYTHON_API=ON ^ | ||
-D LUE_DATA_MODEL_WITH_UTILITIES=ON ^ | ||
-D LUE_BUILD_VIEW=ON ^ | ||
-D Boost_USE_STATIC_LIBS=OFF ^ | ||
-D CMAKE_INSTALL_PREFIX:PATH="%PREFIX%" ^ | ||
-D CMAKE_INSTALL_LIBDIR=lib ^ | ||
-D LUE_INSTALL_PYTHON_PACKAGE_DIR="%SP_DIR%/lue" ^ | ||
-D LUE_BUILD_DATA_MODEL=TRUE ^ | ||
-D LUE_DATA_MODEL_WITH_PYTHON_API=TRUE ^ | ||
-D LUE_DATA_MODEL_WITH_UTILITIES=TRUE ^ | ||
-D LUE_BUILD_FRAMEWORK=TRUE ^ | ||
-D LUE_FRAMEWORK_WITH_PYTHON_API=TRUE ^ | ||
-D LUE_BUILD_VIEW=TRUE ^ | ||
-D LUE_BUILD_TEST=TRUE ^ | ||
-D LUE_TEST_NR_LOCALITIES_PER_TEST=1 ^ | ||
-D LUE_TEST_NR_THREADS_PER_LOCALITY=2 ^ | ||
-D LUE_BUILD_QA=TRUE ^ | ||
-D LUE_QA_WITH_PYTHON_API=TRUE ^ | ||
-D LUE_BUILD_HPX=TRUE ^ | ||
-D HPX_USE_CMAKE_CXX_STANDARD=TRUE ^ | ||
-D HPX_WITH_MALLOC="system" ^ | ||
-D HPX_WITH_FETCH_ASIO=TRUE ^ | ||
-D HPX_WITH_PKGCONFIG=FALSE ^ | ||
-D HPX_WITH_EXAMPLES=FALSE ^ | ||
-D HPX_WITH_TESTS=FALSE ^ | ||
-D LUE_HAVE_BOOST=TRUE ^ | ||
-D LUE_HAVE_DOCOPT=FALSE ^ | ||
-D LUE_HAVE_FMT=FALSE ^ | ||
-D LUE_HAVE_GDAL=TRUE ^ | ||
-D LUE_HAVE_GLFW=FALSE ^ | ||
-D LUE_HAVE_HDF5=TRUE ^ | ||
-D LUE_HAVE_FMT=TRUE ^ | ||
-D HDF5_USE_STATIC_LIBRARIES=OFF ^ | ||
-D Python3_FIND_STRATEGY="LOCATION" ^ | ||
-D Python3_EXECUTABLE="%PYTHON%" ^ | ||
-D PYTHON_EXECUTABLE="%PYTHON%" ^ | ||
-D Python_ROOT_DIR="%PREFIX%/bin" ^ | ||
-D Python3_ROOT_DIR="%PREFIX%/bin" | ||
-D LUE_HAVE_NLOHMANN_JSON=FALSE ^ | ||
-D LUE_HAVE_PYBIND11=FALSE ^ | ||
-D Boost_USE_STATIC_LIBS=FALSE ^ | ||
-D HDF5_USE_STATIC_LIBRARIES=FALSE ^ | ||
-D HWLOC_ROOT="%LIBRARY_LIB%" ^ | ||
-D HWLOC_LIBRARY="%LIBRARY_LIB%/hwloc.dll.lib" ^ | ||
-D Python3_EXECUTABLE="%PYTHON%" | ||
|
||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
cmake --build . --config Release --target all_build --parallel 2 | ||
|
||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
if errorlevel 1 exit 1 | ||
rem rem Use parallel build for as many targets as possible, but not for framework/algorithm | ||
rem cmake --build . --target ^ | ||
rem source/data_model/all ^ | ||
rem source/view/all ^ | ||
rem source/framework/core/all ^ | ||
rem source/framework/partitioned_array/all | ||
rem | ||
rem if %errorlevel% neq 0 exit /b %errorlevel% | ||
rem | ||
rem rem Build remaining targets with fewer cores. Compiling these modules requires more memory. | ||
rem cmake --build . --target all --parallel 2 | ||
rem | ||
rem if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
cmake --build . --target all | ||
ctest --extra-verbose --output-on-failure --build-config Release | ||
|
||
if errorlevel 1 exit 1 | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
cmake --build . --target install | ||
cmake --install . --component core | ||
cmake --install . --component parallelism | ||
cmake --install . --component runtime | ||
cmake --install . --component lue_runtime | ||
|
||
if errorlevel 1 exit 1 | ||
if %errorlevel% neq 0 exit /b %errorlevel% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,8 @@ source: | |
|
||
build: | ||
number: 0 | ||
script_env: | ||
- TMPDIR | ||
|
||
|
||
requirements: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.