]> git.ipfire.org Git - people/ms/nightly-builds.git/commitdiff
Throttle builds a little less and build with as many processes as we have processors
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 16 Oct 2017 18:27:02 +0000 (20:27 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 16 Oct 2017 18:27:02 +0000 (20:27 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
build.sh

index 2017b950cd1e4845bbf85d45ded5523beb6f23d2..71ff008ea8fdef5e5dacf3a50f72a3b1e2df2361 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -7,7 +7,7 @@ UPLOAD_DIR="${BASEDIR}/upload"
 UPLOAD_TO="pakfire@git.ipfire.org:/pub/nightly"
 RSYNC_ARGS=""
 
-export MAKETUNING="-j2"
+export MAKETUNING="-j$(getconf _NPROCESSORS_ONLN)"
 
 extract_installer_from_iso() {
        local dir="${1}"