Commit 36d281ab70daf7dcf890df9c3f5bdd76f665bb68

Anthony Green 2019-11-06T06:30:52

Test cross-builds for hppa-linux-gnu

diff --git a/.travis.yml b/.travis.yml
index c3c8f16..2af5feb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,6 @@ matrix:
   include:
     - os: osx
       env: HOST=arm-apple-darwin
-
     - os: linux
       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O0"
     - os: linux
@@ -23,6 +22,8 @@ matrix:
     - os: linux
       env: HOST=mips64el-linux-gnu
     - os: linux
+      env: HOST=hppa-linux-gnu MEVAL='export CC="hppa-linux-gnu-gcc-8" && CXX="hppa-linux-gnu-g++-8"' CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/hppa-linux-gnu
+    - os: linux
       compiler: gcc
       env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
     - os: linux
diff --git a/.travis/install.sh b/.travis/install.sh
index c737a54..2fdbdc5 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -15,6 +15,9 @@ else
       arm32v7-linux-gnu | s390x-linux-gnu)
 	  sudo apt-get install qemu-user-static
 	  ;;
+      hppa-linux-gnu )
+	  sudo apt-get install qemu-user-static g++-8-hppa-linux-gnu
+	  ;;
       i386-pc-linux-gnu)
 	  sudo apt-get install gcc-multilib g++-multilib;
 	  ;;