ldflags: -static
codecov: ubuntu_gcc_ppc
+ - name: Ubuntu GCC PPC No Power8
+ os: ubuntu-latest
+ compiler: powerpc-linux-gnu-gcc
+ cmake-args: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-powerpc.cmake -DWITH_POWER8=OFF
+ asan-options: detect_leaks=0
+ packages: qemu qemu-user gcc-powerpc-linux-gnu libc-dev-powerpc-cross
+ qemu-run: qemu-ppc
+ codecov: ubuntu_gcc_ppc_no_power8
+
- name: Ubuntu GCC PPC64
os: ubuntu-latest
compiler: powerpc64-linux-gnu-gcc
cflags: -static
ldflags: -static
+ - name: Ubuntu GCC PPC No Power8
+ os: ubuntu-latest
+ compiler: powerpc-linux-gnu-gcc
+ configure-args: --warn --without-power8
+ chost: powerpc-linux-gnu
+ packages: qemu qemu-user gcc-powerpc-linux-gnu libc-dev-powerpc-cross
+ qemu-run: qemu-ppc
+
- name: Ubuntu GCC PPC64
os: ubuntu-latest
compiler: powerpc64-linux-gnu-gcc
build64=0
buildacle=1
buildaltivec=1
+buildpower8=1
buildneon=1
builddfltccdeflate=0
builddfltccinflate=0
echo ' [--without-acle] Compiles without ARM C Language Extensions' | tee -a configure.log
echo ' [--without-neon] Compiles without ARM Neon SIMD instruction set' | tee -a configure.log
echo ' [--without-altivec] Compiles without PPC AltiVec support' | tee -a configure.log
+ echo ' [--without-power8] Compiles without Power8 instruction set' | tee -a configure.log
echo ' [--with-dfltcc-deflate] Use DEFLATE CONVERSION CALL instruction for compression on IBM Z' | tee -a configure.log
echo ' [--with-dfltcc-inflate] Use DEFLATE CONVERSION CALL instruction for decompression on IBM Z' | tee -a configure.log
echo ' [--without-crc32-vx] Build without vectorized CRC32 on IBM Z' | tee -a configure.log
--without-acle) buildacle=0; shift ;;
--without-neon) buildneon=0; shift ;;
--without-altivec) buildaltivec=0 ; shift ;;
+ --without-power8) buildpower8=0 ; shift ;;
--with-dfltcc-deflate) builddfltccdeflate=1; shift ;;
--with-dfltcc-inflate) builddfltccinflate=1; shift ;;
--without-crc32-vx) buildcrc32vx=0; shift ;;
#include <sys/auxv.h>
int main() { return (getauxval(AT_HWCAP2) & PPC_FEATURE2_ARCH_2_07); }
EOF
- if try $CC -c $CFLAGS -mcpu=power8 $test.c; then
+ if test $buildpower8 -eq 1 && try $CC -c $CFLAGS -mcpu=power8 $test.c; then
HAVE_POWER8_INTRIN=1
echo "Check whether POWER8 instructions are available ... Yes." | tee -a configure.log
else