summaryrefslogtreecommitdiffstats
path: root/recipe/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipe/build.sh')
-rw-r--r--recipe/build.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipe/build.sh b/recipe/build.sh
new file mode 100644
index 0000000..1d54b6f
--- /dev/null
+++ b/recipe/build.sh
@@ -0,0 +1,18 @@
+
+mkdir "$SRC_DIR/ccpi"
+cp -rv "$RECIPE_DIR/../src/Matlab" "$SRC_DIR/ccpi"
+cp -rv "$RECIPE_DIR/../src/Python" "$SRC_DIR/ccpi"
+cp -rv "$RECIPE_DIR/../src/Core" "$SRC_DIR/Core"
+
+cd $SRC_DIR
+##cuda=off
+
+cmake -G "Unix Makefiles" $RECIPE_DIR/../ -DBUILD_PYTHON_WRAPPER=ON -DCONDA_BUILD=ON -DBUILD_CUDA=ON -DCMAKE_BUILD_TYPE="Release" -DLIBRARY_LIB=$CONDA_PREFIX/lib -DLIBRARY_INC=$CONDA_PREFIX -DCMAKE_INSTALL_PREFIX=$PREFIX
+
+
+make install
+
+#$PYTHON setup-regularisers.py build_ext
+#$PYTHON setup-regularisers.py install
+
+