summaryrefslogtreecommitdiffstats
path: root/recipes/regularisers/build.sh
diff options
context:
space:
mode:
authorDaniil Kazantsev <dkazanc@hotmail.com>2018-04-09 13:41:06 +0100
committerDaniil Kazantsev <dkazanc@hotmail.com>2018-04-09 13:41:06 +0100
commitb9fafd363d1d181a4a8b42ea4038924097207913 (patch)
treecdc7c4469e210a52cb416b2747ca2d954da073cc /recipes/regularisers/build.sh
parenta5b5872b76bf00023a7e7cee97e028003ccbc45e (diff)
downloadregularization-b9fafd363d1d181a4a8b42ea4038924097207913.tar.gz
regularization-b9fafd363d1d181a4a8b42ea4038924097207913.tar.bz2
regularization-b9fafd363d1d181a4a8b42ea4038924097207913.tar.xz
regularization-b9fafd363d1d181a4a8b42ea4038924097207913.zip
major renaming and new 3D demos for Matlab
Diffstat (limited to 'recipes/regularisers/build.sh')
-rw-r--r--recipes/regularisers/build.sh19
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