follow-parallel-var
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Tue, 25 Apr 2017 17:46:34 +0000 (17:46 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 25 Apr 2017 17:46:34 +0000 (17:46 +0000)
===================================================================

Gbp-Pq: Name follow-parallel-var.diff

test/Makefile

index 03194520caa259b94c1d84ff5a6acd0666365a48..2e0390e146eeb76c4b5b3e435df48baaa190a790 100644 (file)
@@ -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