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