From b31ef612fb7f6f6b93ecdbf0f16b3cc8a49a4edd Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Tue, 21 May 2019 10:59:42 +0200 Subject: [PATCH] also pass the number of CORES to Ninja It may automatically get a value but we can't override it --- build-llvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-llvm.sh b/build-llvm.sh index 32a5c96..bbc1f6d 100755 --- a/build-llvm.sh +++ b/build-llvm.sh @@ -145,7 +145,7 @@ cmake \ .. if [ -n "$NINJA" ]; then - ninja install/strip + ninja -j$CORES install/strip else make -j$CORES install/strip fi