Commit 0348d0e4fa585d9a3d9762132a3eee94f918fe3b

Anthony Green 2019-10-31T10:53:37

Try new cfarm build for power

diff --git a/.travis.yml b/.travis.yml
index 2c44f95..e5941b0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,8 @@ matrix:
     - os: linux
       env: HOST=aarch64-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2 -fomit-frame-pointer"
     - os: linux
+      env: HOST=powerpc64le-unknown-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/build.sh b/.travis/build.sh
index 8e0cf42..aeab2c6 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -1,5 +1,10 @@
 #!/bin/bash
 
+function build_cfarm()
+{
+    curl -u ${CFARM_AUTH} https://cfarm-test-libffi-libffi.apps.home.labdroid.net/test?host=${HOST}\&commit=${TRAVIS_COMMIT}
+}
+
 function build_linux()
 {
     ./autogen.sh
@@ -50,8 +55,8 @@ case "$HOST" in
     aarch64-linux-gnu)
         build_foreign_linux aarch64 moxielogic/aarch64-ci-build-container:latest 
 	;;
-    ppc64le-linux-gnu)
-        build_foreign_linux ppc64le moxielogic/ppc64le-ci-build-container:latest 
+    powerpc64le-unknown-linux-gnu)
+        build_cfarm
 	;;
     s390x-linux-gnu)
 	build_foreign_linux s390x s390x/ubuntu
diff --git a/.travis/install.sh b/.travis/install.sh
index b0b05bd..e0d64d6 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -10,7 +10,9 @@ else
   sudo apt-get clean # clear the cache
   sudo apt-get update
   case $HOST in
-      arm32v7-linux-gnu | aarch64-linux-gnu | ppc64le-linux-gnu | s390x-linux-gnu)
+      powerpc64le-unknown-linux-gnu)
+          ;;	  
+      arm32v7-linux-gnu | aarch64-linux-gnu | s390x-linux-gnu)
 	  sudo apt-get install qemu-user-static
 	  ;;
       i386-pc-linux-gnu)