summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python/compile-fista.sh.in
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-11-10 14:03:37 +0000
committerEdoardo Pasca <edo.paskino@gmail.com>2018-01-19 14:26:06 +0000
commitd8da92d590fcab561b9e65ee57851e2e402f0cd4 (patch)
tree8ff25f41a7ea4a690235fe92f79c807615f0aef2 /Wrappers/Python/compile-fista.sh.in
parent2b11ca3f30580b814971fcad39110e0751161acb (diff)
downloadregularization-d8da92d590fcab561b9e65ee57851e2e402f0cd4.tar.gz
regularization-d8da92d590fcab561b9e65ee57851e2e402f0cd4.tar.bz2
regularization-d8da92d590fcab561b9e65ee57851e2e402f0cd4.tar.xz
regularization-d8da92d590fcab561b9e65ee57851e2e402f0cd4.zip
code refactoring step1
Diffstat (limited to 'Wrappers/Python/compile-fista.sh.in')
-rw-r--r--Wrappers/Python/compile-fista.sh.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/Wrappers/Python/compile-fista.sh.in b/Wrappers/Python/compile-fista.sh.in
new file mode 100644
index 0000000..267f014
--- /dev/null
+++ b/Wrappers/Python/compile-fista.sh.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+# compile within the right conda environment
+#module load python/anaconda
+#source activate @CONDA_ENVIRONMENT@
+
+export CIL_VERSION=@CIL_VERSION@
+export LIBRARY_INC=@CONDA_ENVIRONMENT_LIBRARY_INC@
+
+conda build fista-recipe --python=@PYTHON_VERSION_MAJOR@.@PYTHON_VERSION_MINOR@ --numpy=@NUMPY_VERSION@ -c ccpi