summaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/regularizers/build.sh28
1 files changed, 15 insertions, 13 deletions
diff --git a/recipes/regularizers/build.sh b/recipes/regularizers/build.sh
index ab5474b..0b8bce2 100644
--- a/recipes/regularizers/build.sh
+++ b/recipes/regularizers/build.sh
@@ -1,17 +1,19 @@
#!/usr/bin/env bash
-mkdir build
-cd build
+echo $CIL_VERSION
+#if [ -z "$CIL_VERSION" ]; then
+# echo "Need to set CIL_VERSION"
+# exit 1
+#fi
+#export CIL_VERSION=0.9.1
-#configure
-BUILD_CONFIG=Release
-echo `pwd`
-cmake .. -G "Ninja" \
- -Wno-dev \
- -DCMAKE_BUILD_TYPE=$BUILD_CONFIG \
- -DCMAKE_PREFIX_PATH:PATH="${PREFIX}" \
- -DCMAKE_INSTALL_PREFIX:PATH="${PREFIX}" \
- -DCMAKE_INSTALL_RPATH:PATH="${PREFIX}/lib"
-# compile & install
-ninja install
+
+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