Add a POWER9 build with BFLOAT16 enabled
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Tue, 13 Oct 2020 07:07:50 +0000 (09:07 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Oct 2020 07:07:50 +0000 (09:07 +0200)
.travis.yml

index 4bfdf48..3f917ce 100644 (file)
@@ -105,6 +105,23 @@ matrix:
         - TARGET_BOX=PPC64LE_LINUX_P9
 
     - os: linux
+      arch: ppc64le
+      dist: bionic
+      compiler: gcc
+      before_script:
+        - sudo add-apt-repository 'ppa:ubuntu-toolchain-r/test' -y
+        - sudo apt-get update
+        - sudo apt-get install gcc-9 gfortran-9 -y
+      script:
+        - make QUIET_MAKE=1  BUILD_BFLOAT16=1 BINARY=64 USE_OPENMP=1 CC=gcc-9 FC=gfortran-9
+        - make -C test $COMMON_FLAGS $BTYPE
+        - make -C ctest $COMMON_FLAGS $BTYPE
+        - make -C utest $COMMON_FLAGS $BTYPE 
+      env:
+        # for matrix annotation only
+        - TARGET_BOX=PPC64LE_LINUX_P9
+
+    - os: linux
       compiler: gcc
       addons:
         apt: