summaryrefslogtreecommitdiffstats
path: root/python/conda/libastra/build.sh
blob: e1d9700645c1111b8b4c5a82633c8924ae738aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cd build/linux
./autogen.sh
./configure --with-cuda=$CUDA_ROOT --prefix=$PREFIX
if [ $MAKEOPTS == '<UNDEFINED>' ]
  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