From: Tobias Brunner Date: Tue, 18 Mar 2014 14:25:56 +0000 (+0100) Subject: travis: Use parallel build X-Git-Tag: 5.1.3dr1~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6548f50cf920867b3eac58e9e6c9d0213d9fe7ab;p=thirdparty%2Fstrongswan.git travis: Use parallel build Not sure if 4 jobs is optimal, but according to the docs each build host has 1.5 virtual cores available (although "getconf _NPROCESSORS_ONLN" returns 32, which is probably the number of real cores underneath), so more jobs might not actually reduce the build time much more. --- diff --git a/scripts/test.sh b/scripts/test.sh index 80d04d1d53..4785d06037 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -62,4 +62,4 @@ CONFIG="$CONFIG --enable-leak-detective=${LEAK_DETECTIVE-no}" echo "$ ./configure $CONFIG && make $TARGET" -./configure $CONFIG && make $TARGET +./configure $CONFIG && make -j4 $TARGET