From 0df000143b9e24ea3c50b4fd3bf2ccfaf181206d Mon Sep 17 00:00:00 2001 From: Diana Picus Date: Thu, 15 Sep 2016 16:10:44 +0300 Subject: [llvm-build] Force lit tests to run in parallel This is achieved by setting the CMake option LLVM_LIT_ARGS. If we don't do this, lit may decide that it only needs to run on one core. While we're at it, also update the run.sh that we use for bisects to force ninja to use the right number of cores while building. Change-Id: I099697f4a377541f907d8f13f8f807c2a4f901d6 --- stress/build-llvm-forever.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'stress/build-llvm-forever.sh') diff --git a/stress/build-llvm-forever.sh b/stress/build-llvm-forever.sh index 178a00b..5fc4096 100755 --- a/stress/build-llvm-forever.sh +++ b/stress/build-llvm-forever.sh @@ -47,6 +47,7 @@ if [ ! -f Makefile ]; then -DCMAKE_BUILD_TYPE=Release \ -DLLVM_BUILD_TESTS=True \ -DLLVM_ENABLE_ASSERTIONS=True \ + -DLLVM_LIT_ARGS="-sv -j$CPUS" \ $LINK_JOBS fi -- cgit v1.2.3