blob: aede303eb2298eb9a13da9732ad41f404f603378 (
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 build.sh CIL_VERSION: $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" -DCIL_VERSION="${CIL_VERSION}" -DLIBRARY_LIB="${CONDA_PREFIX}/lib" -DLIBRARY_INC="${CONDA_PREFIX}" -DCMAKE_INSTALL_PREFIX="${PREFIX}" ../Core
make -j2 VERBOSE=1
make install
|