summaryrefslogtreecommitdiffstats
path: root/recipe/build.sh
blob: ad78ccac983ccebb91202eac1209974adb6b7ef6 (plain)
1
2
3
4
5
6
7
8
set -xe 
cp -rv "$RECIPE_DIR/../test/" "$SRC_DIR/"

cd $SRC_DIR

cmake -G "Unix Makefiles" $RECIPE_DIR/../ -DBUILD_PYTHON_WRAPPER=ON -DCONDA_BUILD=ON -DBUILD_CUDA=ON -DCMAKE_BUILD_TYPE="Release" -DLIBRARY_LIB=$CONDA_PREFIX/lib -DLIBRARY_INC=$CONDA_PREFIX -DCMAKE_INSTALL_PREFIX=$PREFIX

make install