Fixes for ppc64le and s390x travis testing

This commit is contained in:
Anthony Green
2019-11-24 16:52:14 -05:00
parent 932e5bb68a
commit 66022e52ec
2 changed files with 20 additions and 7 deletions
+2
View File
@@ -30,8 +30,10 @@ matrix:
env: HOST=m68k-linux-gnu MEVAL='export CC="m68k-linux-gnu-gcc-8 -mcpu=547x" && CXX="m68k-linux-gnu-g++-8 -mcpu=547x"' CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/m68k-linux-gnu QEMU_CPU=cfv4e
- os: linux
arch: s390x
env: HOST=s390x-linux-gnu
- os: linux
arch: ppc64le
env: HOST=ppc64le-linux-gnu
- os: linux
env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O0"
- os: linux
+18 -7
View File
@@ -9,20 +9,31 @@ if [[ $TRAVIS_OS_NAME != 'linux' ]]; then
# Download and extract the rlgl client
wget -qO - https://rl.gl/cli/rlgl-darwin-amd64.tgz | \
tar --strip-components=2 -xvzf - ./rlgl/rlgl
tar --strip-components=2 -xvzf - ./rlgl/rlgl;
else
# Download and extract the rlgl client
wget -qO - http://rl.gl/cli/rlgl-linux-amd64.tgz | \
tar --strip-components=2 -xvzf - ./rlgl/rlgl
case $HOST in
ppc64le-linux-gnu)
wget -qO - https://rl.gl/cli/rlgl-linux-ppc64le.tgz | \
tar --strip-components=2 -xvzf - ./rlgl/rlgl;
;;
s390x-linux-gnu)
wget -qO - https://rl.gl/cli/rlgl-linux-s390x.tgz | \
tar --strip-components=2 -xvzf - ./rlgl/rlgl;
;;
*)
wget -qO - https://rl.gl/cli/rlgl-linux-amd64.tgz | \
tar --strip-components=2 -xvzf - ./rlgl/rlgl;
;;
esac
sudo apt-get clean # clear the cache
sudo apt-get update
case $HOST in
aarch64-linux-gnu | powerpc64le-unknown-linux-gnu | mips64el-linux-gnu | sparc64-linux-gnu)
aarch64-linux-gnu | mips64el-linux-gnu | sparc64-linux-gnu)
;;
alpha-linux-gnu | arm32v7-linux-gnu | m68k-linux-gnu | sh4-linux-gnu | s390x-linux-gnu )
alpha-linux-gnu | arm32v7-linux-gnu | m68k-linux-gnu | sh4-linux-gnu)
sudo apt-get install qemu-user-static
;;
hppa-linux-gnu )
@@ -46,7 +57,7 @@ else
;;
esac
case $HOST in
arm32v7-linux-gnu | aarch64-linux-gnu | ppc64le-linux-gnu | s390x-linux-gnu)
arm32v7-linux-gnu | aarch64-linux-gnu)
# don't install host tools
;;
*)