]> granicus.if.org Git - clang/commitdiff
Switch over to the parallelized makefile, but keep old serial
authorGabor Greif <ggreif@gmail.com>
Tue, 18 Mar 2008 06:14:16 +0000 (06:14 +0000)
committerGabor Greif <ggreif@gmail.com>
Tue, 18 Mar 2008 06:14:16 +0000 (06:14 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48486 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index 7d990da0ad837f0e57e86a494f16a4e749a2ea3e..b1279a6787c6f056e321ee69981c021a06c26e5b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,10 @@ DIRS := lib Driver
 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