summaryrefslogtreecommitdiffstats
path: root/recipes/regularisers/build.sh
diff options
context:
space:
mode:
authorvagrant <vagrant@localhost.localdomain>2019-01-21 16:41:10 +0000
committervagrant <vagrant@localhost.localdomain>2019-01-21 16:41:10 +0000
commit5e436eab5cea50569df9c85159be69d8e88688f0 (patch)
treead233a03a25e587f09ebee23fc8ad48a7c2892dd /recipes/regularisers/build.sh
parent204dc742ee5a8fda3f168b3e84632f5cdb75ce2e (diff)
downloadregularization-5e436eab5cea50569df9c85159be69d8e88688f0.tar.gz
regularization-5e436eab5cea50569df9c85159be69d8e88688f0.tar.bz2
regularization-5e436eab5cea50569df9c85159be69d8e88688f0.tar.xz
regularization-5e436eab5cea50569df9c85159be69d8e88688f0.zip
UPDATE: propagate CIL_VERSION
Diffstat (limited to 'recipes/regularisers/build.sh')
-rw-r--r--recipes/regularisers/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/regularisers/build.sh b/recipes/regularisers/build.sh
index 0b8bce2..aede303 100644
--- a/recipes/regularisers/build.sh
+++ b/recipes/regularisers/build.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-echo $CIL_VERSION
+echo build.sh CIL_VERSION: $CIL_VERSION
#if [ -z "$CIL_VERSION" ]; then
# echo "Need to set CIL_VERSION"
# exit 1
@@ -13,7 +13,7 @@ mkdir ${SRC_DIR}/build
cp -rv ${RECIPE_DIR}/../../Core/ ${SRC_DIR}/build
mkdir ${SRC_DIR}/build/build
cd ${SRC_DIR}/build/build
-cmake -G "Unix Makefiles" -DLIBRARY_LIB="${CONDA_PREFIX}/lib" -DLIBRARY_INC="${CONDA_PREFIX}" -DCMAKE_INSTALL_PREFIX="${PREFIX}" ../Core
+cmake -G "Unix Makefiles" -DCIL_VERSION="${CIL_VERSION}" -DLIBRARY_LIB="${CONDA_PREFIX}/lib" -DLIBRARY_INC="${CONDA_PREFIX}" -DCMAKE_INSTALL_PREFIX="${PREFIX}" ../Core
make -j2 VERBOSE=1
make install