[llvm-commits] [test-suite] r84486 - /test-suite/trunk/Makefile.programs

Daniel Dunbar daniel at zuster.org
Mon Oct 19 05:47:06 PDT 2009


Author: ddunbar
Date: Mon Oct 19 07:47:03 2009
New Revision: 84486

URL: http://llvm.org/viewvc/llvm-project?rev=84486&view=rev
Log:
Add ENABLE_PARALLEL_REPORT which prevents the makefiles from forcing a serial build.

Modified:
    test-suite/trunk/Makefile.programs

Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=84486&r1=84485&r2=84486&view=diff

==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Mon Oct 19 07:47:03 2009
@@ -788,8 +788,12 @@
 #
 GENERATEREPORT := $(PROJ_SRC_ROOT)/GenerateReport.pl
 
+ifndef ENABLE_PARALLEL_REPORT
+FORCE_SERIAL_ARG := -j1
+endif
+
 report.$(TEST).raw.out: $(REPORT_DEPENDENCIES) $(TestMakefile)
-	$(MAKE) -j1 TEST=$(TEST) 2>&1 | tee $@
+	$(MAKE) $(FORCE_SERIAL_ARG) TEST=$(TEST) 2>&1 | tee $@
 
 ifneq ($(TestReport),)
 report.$(TEST).txt: report.$(TEST).raw.out $(TestReport) $(GENERATEREPORT)





More information about the llvm-commits mailing list