From 7acb21aa87fdc98c725f72db456270c63c15b96a Mon Sep 17 00:00:00 2001 From: "Daniel M. Pelt" Date: Thu, 3 Mar 2016 12:23:58 +0100 Subject: Split conda package into c++ lib and python parts --- python/conda/libastra/build.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 python/conda/libastra/build.sh (limited to 'python/conda/libastra/build.sh') diff --git a/python/conda/libastra/build.sh b/python/conda/libastra/build.sh new file mode 100644 index 0000000..a80b9c4 --- /dev/null +++ b/python/conda/libastra/build.sh @@ -0,0 +1,15 @@ +cd build/linux +./autogen.sh +./configure --with-python --with-cuda=$CUDA_ROOT --prefix=$PREFIX +if [ $MAKEOPTS == '' ] + then + MAKEOPTS="" +fi +make $MAKEOPTS install-libraries +LIBPATH=lib +if [ $ARCH == 64 ] + then + LIBPATH+=64 +fi +cp -P $CUDA_ROOT/$LIBPATH/libcudart.so.* $PREFIX/lib +cp -P $CUDA_ROOT/$LIBPATH/libcufft.so.* $PREFIX/lib -- cgit v1.2.3 From 57b2a752a458266066c1048b9cfacafd7692b943 Mon Sep 17 00:00:00 2001 From: "Daniel M. Pelt" Date: Thu, 3 Mar 2016 13:01:38 +0100 Subject: Remove with-python from libastra conda build --- python/conda/libastra/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/conda/libastra/build.sh') diff --git a/python/conda/libastra/build.sh b/python/conda/libastra/build.sh index a80b9c4..e1d9700 100644 --- a/python/conda/libastra/build.sh +++ b/python/conda/libastra/build.sh @@ -1,6 +1,6 @@ cd build/linux ./autogen.sh -./configure --with-python --with-cuda=$CUDA_ROOT --prefix=$PREFIX +./configure --with-cuda=$CUDA_ROOT --prefix=$PREFIX if [ $MAKEOPTS == '' ] then MAKEOPTS="" -- cgit v1.2.3