Attention is currently required from: Martin L Roth.
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/80731?usp=email )
Change subject: util/crossgcc: Use ninja to build llvm/clang ......................................................................
util/crossgcc: Use ninja to build llvm/clang
Ninja is faster than make.
Change-Id: I66d2a4e6e5c265f5580a74e59309e2ad8b1f1f61 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M util/crossgcc/buildgcc 1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/80731/1
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index e90117c..9c70ed3 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -881,10 +881,11 @@ -DLLVM_INCLUDE_EXAMPLES="OFF" \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_TARGETS_TO_BUILD="AArch64;ARM;PowerPC;RISCV;X86" \ + -G Ninja \ ../llvm || touch .failed # shellcheck disable=SC2086 - $MAKE $JOBS || touch .failed - $MAKE install || touch .failed + $NINJA $JOBS || touch .failed + $NINJA install || touch .failed
rm -f ../llvm ../clang ../clang-tools-extra ../compiler-rt ../cmake
@@ -1049,6 +1050,7 @@ TAR=$(searchtool tar) || exit $? PATCH=$(searchtool patch) || exit $? MAKE=$(searchtool make) || exit $? +NINJA=$(searchtool ninja "kitware.jobserver") || exit $? SHA1SUM=$(searchtool sha1sum) #SHA512SUM=$(searchtool sha512sum) #MD5SUM=$(searchtool md5sum)