summaryrefslogtreecommitdiffstats
path: root/recipes/regularisers/build.sh
blob: 0b8bce2378f9b00f49dba43a98f5262d94aee5d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash

echo $CIL_VERSION
#if [ -z "$CIL_VERSION" ]; then
#    echo "Need to set CIL_VERSION"
#    exit 1
#fi  
#export CIL_VERSION=0.9.1



mkdir ${SRC_DIR}/build
cp -rv ${RECIPE_DIR}/../../Core/ ${SRC_DIR}/build
mkdir ${SRC_DIR}/build/build
cd ${SRC_DIR}/build/build
cmake -G "Unix Makefiles" -DLIBRARY_LIB="${CONDA_PREFIX}/lib" -DLIBRARY_INC="${CONDA_PREFIX}" -DCMAKE_INSTALL_PREFIX="${PREFIX}" ../Core

make -j2 VERBOSE=1
make install