Skip to content

Commit 047b8d7

Browse files
committed
Add an s390 build with clang to the Travis configuration
Since clang builds have been fixed on s390x, including support for DYNAMIC_ARCH, cover that build type in Travis. Explicitly request Ubuntu 20.04 (codename focal) to get a recent LLVM/clang version 10.x and thereby cover all s390x architecture generations supported in OpenBLAS. Ubuntu 18.10's LLVM/clang 6.x cannot build the inline assembly in some of the Z13 and Z14 kernels. LLVM/clang currently does not support OpenMP on s390x, so disable that in the build. Signed-off-by: Marius Hillenbrand <[email protected]>
1 parent f7731a3 commit 047b8d7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ matrix:
4343
- TARGET_BOX=IBMZ_LINUX
4444
- BTYPE="BINARY=64 USE_OPENMP=1"
4545

46+
- <<: *test-ubuntu
47+
os: linux
48+
dist: focal
49+
arch: s390x
50+
compiler: clang
51+
before_script:
52+
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=Z13 NUM_THREADS=32"
53+
env:
54+
# for matrix annotation only
55+
- TARGET_BOX=IBMZ_LINUX
56+
- BTYPE="BINARY=64 USE_OPENMP=0 CC=clang"
57+
4658
- <<: *test-ubuntu
4759
env:
4860
- TARGET_BOX=LINUX64

0 commit comments

Comments
 (0)