diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-10-30 16:29:04 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-11-06 14:40:24 +0100 |
commit | 1642ceef7cb622e530b30232536b31bb43ac7ed9 (patch) | |
tree | 5d2cd3988411fbd9b4eaa273e8a96672ea0e64c8 /python/conda/astra-toolbox/build.sh | |
parent | 40295b83ebaf49f9547a4366e1ebfbff39ea907c (diff) | |
download | astra-1642ceef7cb622e530b30232536b31bb43ac7ed9.tar.gz astra-1642ceef7cb622e530b30232536b31bb43ac7ed9.tar.bz2 astra-1642ceef7cb622e530b30232536b31bb43ac7ed9.tar.xz astra-1642ceef7cb622e530b30232536b31bb43ac7ed9.zip |
Add libastra/linux-64 conda package variants for cudatoolkit
Also upgrade the Docker-based linux release scripts to match.
Diffstat (limited to 'python/conda/astra-toolbox/build.sh')
-rw-r--r-- | python/conda/astra-toolbox/build.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/python/conda/astra-toolbox/build.sh b/python/conda/astra-toolbox/build.sh index 951fd88..0468037 100644 --- a/python/conda/astra-toolbox/build.sh +++ b/python/conda/astra-toolbox/build.sh @@ -1,4 +1,10 @@ #!/bin/sh +case `uname` in + Darwin*) + CC="gcc -stdlib=libstdc++" + ;; +esac + 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 +CPPFLAGS="-DASTRA_CUDA -DASTRA_PYTHON $CPPFLAGS -I$SRC_DIR/ -I$SRC_DIR/include" CC=$CC python ./builder.py build install |