This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/info/build.sh

23 lines
524 B
Bash
Raw Normal View History

2017-10-11 02:24:15 +01:00
#!/bin/bash
2017-10-17 00:13:09 +01:00
export MACOSX_DEPLOYMENT_TARGET=10.9
export CMAKE_BUILD_TYPE=Debug
export CMAKE=$PREFIX/bin/cmake
2017-11-11 22:48:09 +00:00
export MAKE=$PREFIX/bin/make
2017-10-17 00:13:09 +01:00
export GENERATOR="-GNinja"
2017-11-11 22:48:09 +00:00
export PATH=$PREFIX/bin:$SYS_PREFIX/bin:$PATH
2017-10-11 02:24:15 +01:00
mkdir $PREFIX/conda
cd $PREFIX/conda
# The datarootdir option places the docs into a temp folder that won't
2017-11-15 12:18:19 +00:00
$CMAKE --build=. --target=install \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
2017-10-11 02:24:15 +01:00
$RECIPE_DIR/..
2017-10-17 00:13:09 +01:00
2017-11-15 12:18:19 +00:00
make -j install
# Remove the created lib64 directory
2017-10-11 02:24:15 +01:00
2017-12-05 15:14:57 +00:00
rm -rf $PREFIX/conda