summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python/conda-recipe
diff options
context:
space:
mode:
authorTomas Kulhanek <tomas.kulhanek@stfc.ac.uk>2019-01-21 17:15:29 +0000
committerGitHub <noreply@github.com>2019-01-21 17:15:29 +0000
commit9f186d5978aa4e528ea071d5de0a74edb71916ad (patch)
tree45411dd5255691fd4c8495652323c9293c8fb881 /Wrappers/Python/conda-recipe
parent34d0b9f85c3bc73416f1dc2bb25ef669b9ff8076 (diff)
parent60b4d51ce1cf19be2a3483232448ae227253614c (diff)
downloadregularization-9f186d5978aa4e528ea071d5de0a74edb71916ad.tar.gz
regularization-9f186d5978aa4e528ea071d5de0a74edb71916ad.tar.bz2
regularization-9f186d5978aa4e528ea071d5de0a74edb71916ad.tar.xz
regularization-9f186d5978aa4e528ea071d5de0a74edb71916ad.zip
Merge pull request #88 from TomasKulhanek/pr-test
Pr test
Diffstat (limited to 'Wrappers/Python/conda-recipe')
-rw-r--r--Wrappers/Python/conda-recipe/build.sh1
-rw-r--r--Wrappers/Python/conda-recipe/meta.yaml2
2 files changed, 3 insertions, 0 deletions
diff --git a/Wrappers/Python/conda-recipe/build.sh b/Wrappers/Python/conda-recipe/build.sh
index eec7c2f..39c0f2c 100644
--- a/Wrappers/Python/conda-recipe/build.sh
+++ b/Wrappers/Python/conda-recipe/build.sh
@@ -5,6 +5,7 @@ cp -rv "$RECIPE_DIR/../../../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
diff --git a/Wrappers/Python/conda-recipe/meta.yaml b/Wrappers/Python/conda-recipe/meta.yaml
index e3258ff..9fe813d 100644
--- a/Wrappers/Python/conda-recipe/meta.yaml
+++ b/Wrappers/Python/conda-recipe/meta.yaml
@@ -5,6 +5,8 @@ package:
build:
preserve_egg_dir: False
number: 0
+ script_env:
+ - CIL_VERSION
test:
files: