From 3a5507fd3166e18f5ca510f1475afbedccf69b6a Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sat, 1 Apr 2023 11:32:56 +0200 Subject: [PATCH] util/crossgcc/buildgcc: Allow bootstrapping CMake with multiple threads MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The main build process already runs multi-threaded, when requested. Apply the same setting to the bootstrap / configure step. Change-Id: I89d6728a0985946b702f83770bedf767afb12690 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/74156 Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) --- util/crossgcc/buildgcc | 1 + 1 file changed, 1 insertion(+) diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 391d8016fb..4f136060d4 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -893,6 +893,7 @@ build_LLVM() { build_CMAKE() { CC="$(hostcc host)" CXX="$(hostcxx host)" CFLAGS="$HOSTCFLAGS" \ ../${CMAKE_DIR}/configure \ + --parallel=${THREADS} \ --prefix="$TARGETDIR" || touch .failed # shellcheck disable=SC2086 $MAKE $JOBS || touch .failed