diff --git a/ci-scripts/install-latan.sh b/ci-scripts/install-latan.sh index 6947da6..e954bb5 100755 --- a/ci-scripts/install-latan.sh +++ b/ci-scripts/install-latan.sh @@ -5,14 +5,17 @@ if (( $# != 1 )); then exit 1 fi PREFIX=$1 -OS=$2 set -ex +INITDIR=$(pwd -P) +cd ${PREFIX} +PREFIX=$(pwd -P) +cd ${INITDIR} ./install-deps.sh ${PREFIX} cd .. ./bootstrap.sh mkdir -p build cd build -../configure --prefix=$PREFIX --with-minuit=$PREFIX --with-nlopt=$PREFIX --with-hdf5=$PREFIX --with-gsl=$PREFIX CXXFLAGS="${CXXFLAGS} -O3 -march=native -mtune=native" +../configure --prefix=${PREFIX} --with-minuit=${PREFIX} --with-nlopt=${PREFIX} --with-hdf5=${PREFIX} --with-gsl=${PREFIX} CXXFLAGS="${CXXFLAGS} -O3 -march=native -mtune=native" make -j4 make install