mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-01-21 10:52:20 +01:00
WIP
This commit is contained in:
18
conda-recipe/build.sh
Normal file
18
conda-recipe/build.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
mkdir build
|
||||
mkdir install
|
||||
cd build
|
||||
cmake .. \
|
||||
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
|
||||
-DCMAKE_INSTALL_PREFIX=install \
|
||||
-DAARE_SYSTEM_LIBRARIES=ON \
|
||||
-DAARE_TESTS=ON \
|
||||
-DAARE_PYTHON_BINDINGS=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
|
||||
|
||||
NCORES=$(getconf _NPROCESSORS_ONLN)
|
||||
echo "Building using: ${NCORES} cores"
|
||||
cmake --build . -- -j${NCORES}
|
||||
cmake --build . --target install
|
||||
|
||||
CTEST_OUTPUT_ON_FAILURE=1 ctest -j 1
|
||||
Reference in New Issue
Block a user