Test cross-builds for hppa-linux-gnu
authorAnthony Green <green@moxielogic.com>
Wed, 6 Nov 2019 11:30:52 +0000 (06:30 -0500)
committerAnthony Green <green@moxielogic.com>
Wed, 6 Nov 2019 11:30:52 +0000 (06:30 -0500)
.travis.yml
.travis/install.sh

index c3c8f16..2af5feb 100644 (file)
@@ -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
index c737a54..2fdbdc5 100755 (executable)
@@ -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;
          ;;