summaryrefslogtreecommitdiffstats
path: root/python/conda/astra-toolbox/build.sh
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-01-24 16:44:18 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-03-20 15:50:22 +0100
commit9f3f78472f7be84694baef8e67fec382febce639 (patch)
treea5e03b428a1f417a514aa31d099ecb01c2a17d4d /python/conda/astra-toolbox/build.sh
parentd70274581443afd30d8347dae737c419142c88da (diff)
downloadastra-9f3f78472f7be84694baef8e67fec382febce639.tar.gz
astra-9f3f78472f7be84694baef8e67fec382febce639.tar.bz2
astra-9f3f78472f7be84694baef8e67fec382febce639.tar.xz
astra-9f3f78472f7be84694baef8e67fec382febce639.zip
Move conda astra-toolbox package files to own subdirectory
Recent versions of conda-build (2.1.1 at least) seem to automatically build packages in subdirectories (after the main directory).
Diffstat (limited to 'python/conda/astra-toolbox/build.sh')
-rw-r--r--python/conda/astra-toolbox/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/conda/astra-toolbox/build.sh b/python/conda/astra-toolbox/build.sh
new file mode 100644
index 0000000..951fd88
--- /dev/null
+++ b/python/conda/astra-toolbox/build.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd $SRC_DIR/python/
+CPPFLAGS="-DASTRA_CUDA -DASTRA_PYTHON $CPPFLAGS -I$SRC_DIR/ -I$SRC_DIR/include -I$CUDA_ROOT/include" CC=$CC python ./builder.py build install