From 2101b0e210e03e1d07d0a6711ed4c8df0f9430ae Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sat, 6 Jun 2020 07:45:10 +0200 Subject: [PATCH] CI: use GCC10 on ppc too We were still using GCC9, because GCC10 was failing. * .travis.yml (PPC64le): Use GCC10. While at it, use -O2 instead of -O3: it's certainly nicer for the CPUs, and allows to test different sets of compiler flags (we use -O3 in several other configurations). --- .travis.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index ff7577b8..aa2b0e69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -135,7 +135,7 @@ jobs: packages: - intel-oneapi-icc - - name: "ARM64: GCC 10 -O3 part 1" + - name: "ARM64: GCC 10 -O2 part 1" stage: check os: linux arch: arm64 @@ -144,12 +144,10 @@ jobs: env: - CC=gcc-10 - CXX=g++-10 - - CONFIGUREFLAGS='CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3' + - CONFIGUREFLAGS='CPPFLAGS=-DNDEBUG CFLAGS=-O2 CXXFLAGS=-O2' - PART=1 - # GCC10 on PPC seems to be buggy. - # E.g., https://travis-ci.org/github/akimd/bison/jobs/687812428. - - name: "PPC64le: GCC 9 part 1" + - name: "PPC64le: GCC 10 -O2 part 1" stage: check os: linux arch: ppc64le @@ -159,14 +157,14 @@ jobs: sources: # See https://github.com/travis-ci/apt-source-safelist/issues/410. - sourceline: 'ppa:ubuntu-toolchain-r/test' - packages: g++-9 + packages: g++-10 env: - - CC=gcc-9 - - CXX=g++-9 - - CONFIGUREFLAGS='CFLAGS=-O3 CXXFLAGS=-O3' + - CC=gcc-10 + - CXX=g++-10 + - CONFIGUREFLAGS='CFLAGS=-O2 CXXFLAGS=-O2' - PART=1 - - name: "s390x: GCC 10 part 1" + - name: "s390x: GCC 10 -O2 part 1" stage: check os: linux arch: s390x @@ -175,7 +173,7 @@ jobs: env: - CC=gcc-10 - CXX=g++-10 - - CONFIGUREFLAGS='CFLAGS=-O3 CXXFLAGS=-O3' + - CONFIGUREFLAGS='CFLAGS=-O2 CXXFLAGS=-O2' - PART=1 ## ----- ##