aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-08-28 05:06:26 -0400
committerJack Lloyd <[email protected]>2016-08-28 05:06:26 -0400
commit9b79ec7f53fb7e16329fc908eca0ffb20827269e (patch)
tree9ef9bfc76f8ca28061d31fab1abfd25a215a2211
parentdd72aeece8b59bbf9756c4868da7688b446c73a4 (diff)
Just run the essentials under qemu, full build takes a lot of CPU time.
-rwxr-xr-xsrc/scripts/ci/travis/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scripts/ci/travis/build.sh b/src/scripts/ci/travis/build.sh
index ce1ac18af..9248f382f 100755
--- a/src/scripts/ci/travis/build.sh
+++ b/src/scripts/ci/travis/build.sh
@@ -76,18 +76,22 @@ if [ "${BUILD_MODE:0:6}" = "cross-" ]; then
CC_BIN=arm-linux-gnueabihf-g++-4.8
TEST_PREFIX="qemu-arm -L /usr/arm-linux-gnueabihf/"
CFG_FLAGS+=(--cpu=armv7)
+ CFG_FLAGS+=(--module-policy=modern --enable-modules=tls)
elif [ "$BUILD_MODE" = "cross-arm64" ]; then
CC_BIN=aarch64-linux-gnu-g++-4.8
TEST_PREFIX="qemu-aarch64 -L /usr/aarch64-linux-gnu/"
CFG_FLAGS+=(--cpu=armv8-a)
+ CFG_FLAGS+=(--module-policy=modern --enable-modules=tls)
elif [ "$BUILD_MODE" = "cross-ppc32" ]; then
CC_BIN=powerpc-linux-gnu-g++-4.8
TEST_PREFIX="qemu-ppc -L /usr/powerpc-linux-gnu/"
CFG_FLAGS+=(--cpu=ppc32)
+ CFG_FLAGS+=(--module-policy=modern --enable-modules=tls)
elif [ "$BUILD_MODE" = "cross-ppc64" ]; then
CC_BIN=powerpc64le-linux-gnu-g++-4.8
TEST_PREFIX="qemu-ppc64 -L /usr/powerpc64le-linux-gnu/"
CFG_FLAGS+=(--cpu=ppc64)
+ CFG_FLAGS+=(--module-policy=modern --enable-modules=tls)
elif [ "$BUILD_MODE" = "cross-win32" ]; then
CC_BIN=i686-w64-mingw32-g++
# No test prefix needed, PE executes as usual with Wine installed