From ff8c463b31690488333008ce77d2c8c1ed57779d Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Sun, 7 Jul 2019 00:11:44 +0100 Subject: [PATCH] buildsystem: bootstrapping parallel must not use locks --- config/multithread | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/multithread b/config/multithread index ca389cddbe..18b24f959d 100644 --- a/config/multithread +++ b/config/multithread @@ -150,7 +150,7 @@ start_multithread_build() { [ "${THREADCOUNT}" = "0" ] && THREADCOUNT=1 # Bootstrap GNU parallel - $SCRIPTS/build parallel:host 2>&1 || die "Unable to bootstrap parallel package" + MTWITHLOCKS=no $SCRIPTS/build parallel:host 2>&1 || die "Unable to bootstrap parallel package" # if number of detected slots is 1 then don't bother using inter-process locks as this is a sequential build [ $(seq 1 32 | ${TOOLCHAIN}/bin/parallel --plain --no-notice --max-procs ${THREADCOUNT} echo {%} | sort -n | tail -1) -eq 1 ] && singlethread=yes || singlethread=no