Skip to content

Commit

Permalink
CI: use GCC10 on ppc too
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
akimd committed Jun 6, 2020
1 parent b1327c5 commit 2101b0e
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .travis.yml
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -175,7 +173,7 @@ jobs:
env:
- CC=gcc-10
- CXX=g++-10
- CONFIGUREFLAGS='CFLAGS=-O3 CXXFLAGS=-O3'
- CONFIGUREFLAGS='CFLAGS=-O2 CXXFLAGS=-O2'
- PART=1

## ----- ##
Expand Down

0 comments on commit 2101b0e

Please sign in to comment.