From 7a087944ff335c896c3fc666c3e2eef80a80aa19 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Thu, 7 Feb 2019 21:09:53 +0000 Subject: [PATCH] Travis log reduction --- .travis.yml | 2 +- ci-scripts/install-latan.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1360b9b..fd40040 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,7 +59,7 @@ install: - ./install-deps.sh `pwd`/local - cd .. - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export LD_LIBRARY_PATH=${LATDIR}/ci-scripts/local/lib:$LD_LIBRARY_PATH; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "gcc-7" ]]; then export CXXFLAGS='-Wno-int-in-bool-context'; fi + - if [[ "$CC" == "gcc-7" ]]; then export CXXFLAGS='-Wno-int-in-bool-context'; fi script: - cd ci-scripts diff --git a/ci-scripts/install-latan.sh b/ci-scripts/install-latan.sh index 7621b51..e43e9a2 100755 --- a/ci-scripts/install-latan.sh +++ b/ci-scripts/install-latan.sh @@ -14,6 +14,6 @@ cd .. mkdir -p build cd build if [[ "$OS" == "osx" ]]; then EXTRA_FLAGS='--with-gsl=/usr/local'; fi -../configure --prefix=$PREFIX --with-minuit=$PREFIX --with-nlopt=$PREFIX --with-latcore=$PREFIX --with-hdf5=$PREFIX $EXTRA_FLAGS CXXFLAGS='-O3 -march=native -mtune=native' +../configure --prefix=$PREFIX --with-minuit=$PREFIX --with-nlopt=$PREFIX --with-latcore=$PREFIX --with-hdf5=$PREFIX $EXTRA_FLAGS CXXFLAGS="${CXXFLAGS} -O3 -march=native -mtune=native" make -j4 make install