From 61bfe1f57fbda958e24e227e567676fafd7f6d3e Mon Sep 17 00:00:00 2001 From: Tomas Kulhanek Date: Thu, 21 Feb 2019 02:11:13 -0500 Subject: restructured sources --- recipe/build.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipe/build.sh (limited to 'recipe/build.sh') 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 + + -- cgit v1.2.3 From b9dc6d0b947a2287d6761e0b0a35525dd0fe7e7f Mon Sep 17 00:00:00 2001 From: Tomas Kulhanek Date: Thu, 21 Feb 2019 04:09:41 -0500 Subject: FIX: directory links, install instructions --- recipe/build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recipe/build.sh') diff --git a/recipe/build.sh b/recipe/build.sh index 1d54b6f..a156193 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -1,8 +1,8 @@ -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" +#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 -- cgit v1.2.3