Add a POWER9 build with BFLOAT16 enabled
@@ -104,6 +104,23 @@ matrix:
# for matrix annotation only
- 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:
