From e3dee52c17c9da457cc4c4e98b7dbb8ce1a644f6 Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Mon, 23 Oct 2017 10:50:41 +0100 Subject: Add needed environment variables Adds the environment variables that are needed to compile via conda. --- src/Python/compile.sh.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/Python/compile.sh.in') diff --git a/src/Python/compile.sh.in b/src/Python/compile.sh.in index dd29973..ca9f310 100644 --- a/src/Python/compile.sh.in +++ b/src/Python/compile.sh.in @@ -1,6 +1,9 @@ #!/bin/sh +# compile within the right conda environment +#module load python/anaconda +#source activate @CONDA_ENVIRONMENT@ export CIL_VERSION=@CIL_VERSION@ -module load python/anaconda -source activate @CONDA_ENVIRONMENT@ +export LIBRARY_INC=@CONDA_ENVIRONMENT_LIBRARY_INC@ + conda build conda-recipe --python=@PYTHON_VERSION_MAJOR@.@PYTHON_VERSION_MINOR@ --numpy=@NUMPY_VERSION@ -c ccpi \ No newline at end of file -- cgit v1.2.3