[cfe-commits] r48486 - /cfe/trunk/Makefile

Gabor Greif ggreif at gmail.com
Mon Mar 17 23:14:16 PDT 2008


Author: ggreif
Date: Tue Mar 18 01:14:16 2008
New Revision: 48486

URL: http://llvm.org/viewvc/llvm-project?rev=48486&view=rev
Log:
Switch over to the parallelized makefile, but keep old serial
makefile around (just change Makefile.parallel to Makefile to
get back old functionality).

To run parallel tests, specify

    make -jN test # where N = num of CPUs * 2

to get detailed output, run

    make -jN test VERBOSE=1

to only get error descriptions *after the tests have run*, type

    make report

this gives you the extra information which was omitted in non-VERBOSE
mode.

Modified:
    cfe/trunk/Makefile

Modified: cfe/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Makefile?rev=48486&r1=48485&r2=48486&view=diff

==============================================================================
--- cfe/trunk/Makefile (original)
+++ cfe/trunk/Makefile Tue Mar 18 01:14:16 2008
@@ -4,7 +4,10 @@
 include $(LEVEL)/Makefile.common
 
 test::
-	cd test; $(MAKE)
+	cd test && $(MAKE) -f Makefile.parallel
+
+report::
+	cd test && $(MAKE) -f Makefile.parallel report
 
 clean::
 	@rm -rf build





More information about the cfe-commits mailing list