1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-06-19 07:47:05 +01:00

Travis update

This commit is contained in:
2016-04-11 19:16:38 +01:00
parent cdf516b5ac
commit 1400f6e257
7 changed files with 40 additions and 11 deletions

View File

@ -4,17 +4,16 @@ if (( $# != 2 )); then
echo "usage: `basename $0` <prefix> {osx|linux}" 1>&2
exit 1
fi
LATAN_PREFIX=$1
PREFIX=$1
OS=$2
set -ex
PREFIX=`pwd`/local
./install-deps.sh
./install-deps.sh ${PREFIX}
cd ..
./bootstrap.sh
mkdir -p build
cd build
if [[ "$OS" == "osx" ]]; then EXTRA_FLAGS='--with-gsl=/usr/local'; fi
../configure --prefix=$LATAN_PREFIX --with-minuit=$PREFIX --with-nlopt=$PREFIX --with-latcore=$PREFIX --with-hdf5=$PREFIX $EXTRA_FLAGS
../configure --prefix=$PREFIX --with-minuit=$PREFIX --with-nlopt=$PREFIX --with-latcore=$PREFIX --with-hdf5=$PREFIX $EXTRA_FLAGS
make -j4
make install