diff options
Diffstat (limited to 'recipes/regularisers/build.sh')
-rw-r--r-- | recipes/regularisers/build.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/regularisers/build.sh b/recipes/regularisers/build.sh new file mode 100644 index 0000000..0b8bce2 --- /dev/null +++ b/recipes/regularisers/build.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +echo $CIL_VERSION +#if [ -z "$CIL_VERSION" ]; then +# echo "Need to set CIL_VERSION" +# exit 1 +#fi +#export CIL_VERSION=0.9.1 + + + +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 + +make -j2 VERBOSE=1 +make install |