mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-06-19 07:47:05 +01:00
Travis update
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user