Use rlgl for cross builds.
authorAnthony Green <green@moxielogic.com>
Tue, 12 Nov 2019 14:20:21 +0000 (09:20 -0500)
committerAnthony Green <green@moxielogic.com>
Tue, 12 Nov 2019 14:20:21 +0000 (09:20 -0500)
.travis/build.sh

index 3d50052..6a388dc 100755 (executable)
@@ -51,6 +51,10 @@ function build_foreign_linux()
 function build_cross_linux()
 {
     ${DOCKER} run --rm -t -i -v `pwd`:/opt ${SET_QEMU_CPU} -e HOST="${HOST}" -e CC="${HOST}-gcc-8 ${GCC_OPTIONS}" -e CXX="${HOST}-g++-8 ${GCC_OPTIONS}" -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" moxielogic/cross-ci-build-container:latest bash -c /opt/.travis/build-in-container.sh
+
+    ./rlgl l https://rl.gl
+    ID=$(./rlgl start)
+    ./rlgl e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
     exit $?
 }