1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

more script tuning

This commit is contained in:
Antonin Portelli 2020-01-10 14:15:40 +00:00
parent 2e2e676196
commit 4b5ad9014c

View File

@ -5,14 +5,17 @@ if (( $# != 1 )); then
exit 1 exit 1
fi fi
PREFIX=$1 PREFIX=$1
OS=$2
set -ex set -ex
INITDIR=$(pwd -P)
cd ${PREFIX}
PREFIX=$(pwd -P)
cd ${INITDIR}
./install-deps.sh ${PREFIX} ./install-deps.sh ${PREFIX}
cd .. cd ..
./bootstrap.sh ./bootstrap.sh
mkdir -p build mkdir -p build
cd 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 -j4
make install make install