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

CI build script minor fixes

This commit is contained in:
Antonin Portelli 2020-01-09 17:35:53 +00:00
parent a1fae4356e
commit 29863a348b
2 changed files with 3 additions and 3 deletions

View File

@ -13,6 +13,6 @@ 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-latcore=$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

View File

@ -16,10 +16,10 @@ tar -xzvf v${NAME}.tar.gz
NAME=nlopt-${NAME} NAME=nlopt-${NAME}
mkdir -p ${NAME}/build mkdir -p ${NAME}/build
cd ${NAME}/build cd ${NAME}/build
cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} .. cmake -DCMAKE_C_COMPILER=${CC} -DCMAKE_CXX_COMPILER=${CXX} -DCMAKE_INSTALL_PREFIX=${PREFIX} ..
make -j4 make -j4
make install make install
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=${PREFIX} .. cmake -DCMAKE_C_COMPILER=${CC} -DCMAKE_CXX_COMPILER=${CXX} -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=${PREFIX} ..
make -j4 make -j4
make install make install
cd ${INITDIR}/local cd ${INITDIR}/local