diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2018-01-23 17:21:07 +0000 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2018-01-23 22:45:21 +0000 |
commit | 8935451cc1449570b485cd244ca564a17b80bfa2 (patch) | |
tree | 19e806b3e56f7a8592a1f7112ccbe918b52ae8b8 /recipes | |
parent | cc4977b8f294613126428375cd151597008944d9 (diff) | |
download | regularization-8935451cc1449570b485cd244ca564a17b80bfa2.tar.gz regularization-8935451cc1449570b485cd244ca564a17b80bfa2.tar.bz2 regularization-8935451cc1449570b485cd244ca564a17b80bfa2.tar.xz regularization-8935451cc1449570b485cd244ca564a17b80bfa2.zip |
fixed conda recipes for unix
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/regularizers/build.sh | 28 |
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 |