llvm-toolchain/debian/patches/follow-parallel-var.diff
2014-06-20 13:34:31 +00:00

17 lines
414 B
Diff

Index: llvm-toolchain-3.4-3.4.2/test/Makefile
===================================================================
--- llvm-toolchain-3.4-3.4.2.orig/test/Makefile
+++ llvm-toolchain-3.4-3.4.2/test/Makefile
@@ -29,6 +29,11 @@ else
LIT_ARGS := -s -v
endif
+# NJOBS allows an override of the number of threads
+ifneq ($(NJOBS),)
+LIT_ARGS += $(NJOBS)
+endif
+
ifdef TESTSUITE
LIT_TESTSUITE := $(TESTSUITE)
else