diff options
author | Tomas Kulhanek <tomas.kulhanek@stfc.ac.uk> | 2019-02-28 16:24:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-28 16:24:01 +0000 |
commit | 879c87c5709ee194a8c7a2207f5a21d4a757f723 (patch) | |
tree | eddf7bc14a998ffabc7e9e01f0cca2ac44b1d88a /recipe/build.sh | |
parent | 4c728cf72345f7ab7967380cb536529fd9b1403d (diff) | |
parent | 68e6f3397e8a450854f39a5d514e1f747b9031a4 (diff) | |
download | regularization-879c87c5709ee194a8c7a2207f5a21d4a757f723.tar.gz regularization-879c87c5709ee194a8c7a2207f5a21d4a757f723.tar.bz2 regularization-879c87c5709ee194a8c7a2207f5a21d4a757f723.tar.xz regularization-879c87c5709ee194a8c7a2207f5a21d4a757f723.zip |
Merge pull request #104 from vais-ral/newdirstructure
New directory structure, Merged other changes. The build script checks old and new structure.
Diffstat (limited to 'recipe/build.sh')
-rw-r--r-- | recipe/build.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipe/build.sh b/recipe/build.sh new file mode 100644 index 0000000..a156193 --- /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 + + |