summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-06-06 07:45:10 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-06-06 07:48:40 +0200
commit2101b0e210e03e1d07d0a6711ed4c8df0f9430ae (patch)
treeda4d48f333637e6b16c7add3d341a9a1e2c0adb6 /.travis.yml
parentb1327c56f7f940f13886a1b6561a5132fa0a43b3 (diff)
downloadbison-2101b0e210e03e1d07d0a6711ed4c8df0f9430ae.tar.gz
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).
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files 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
## ----- ##