Skip to content

Commit

Permalink
travis: use -march=native and GCC on s390x
Browse files Browse the repository at this point in the history
There are still some tests which fail with clang, but on GCC everything
works.  The hardware seems to be limited, at least sometimes, to z13 so
z14-specific instructions were obviously a problem as well.

With this we can move the tests into the script portion so when they
fail the job fails, which should help us keep the ports working.
  • Loading branch information
nemequ committed Jul 3, 2021
1 parent a524be2 commit 5b9b2af
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:
apt:
packages: ninja-build python3-pip clang

- name: z/Arch 14
- name: z/Arch
if: branch != master OR type == pull_request
arch: s390x
compiler:
- clang
- gcc
env:
- CC="clang"
- CXX="clang++"
- CFLAGS="-march=z14 -mzvector -Weverything -Werror -DSIMDE_CONSTRAINED_COMPILATION"
- CXXFLAGS="-march=z14 -mzvector -Weverything -Werror -DSIMDE_CONSTRAINED_COMPILATION"
- CC="gcc"
- CXX="g++"
- CFLAGS="-march=native -mzvector -Wextra -Werror -DSIMDE_CONSTRAINED_COMPILATION"
- CXXFLAGS="-march=native -mzvector -Wextra -Werror -DSIMDE_CONSTRAINED_COMPILATION"
addons:
apt:
packages: ninja-build python3-pip clang
packages: ninja-build python3-pip gcc g++

before_install:
- cat /proc/cpuinfo
Expand Down

0 comments on commit 5b9b2af

Please sign in to comment.