]> granicus.if.org Git - clang/commitdiff
Make all of the tools build in parallel. Missing this caused incremental
authorChandler Carruth <chandlerc@gmail.com>
Thu, 9 Aug 2012 20:40:24 +0000 (20:40 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 9 Aug 2012 20:40:24 +0000 (20:40 +0000)
rebuilds to serially link each tool, which is really really slow.

We still have to build libclang serially first because c-index-test
depends on it.

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

tools/Makefile

index e7aa2fa4ffa0a8a21cb5bf5c35082a477266f0ef..0bae772a97a730779e2889f9d050f377f2ca2f7d 100644 (file)
@@ -11,10 +11,13 @@ CLANG_LEVEL := ..
 
 include $(CLANG_LEVEL)/../../Makefile.config
 
-DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
-        clang-check
+# Build libclang first so that other tools can depend on it.
+DIRS := libclang
+
+PARALLEL_DIRS := driver c-index-test arcmt-test c-arcmt-test diagtool \
+                                                                clang-check
 
 # Recurse into the extra repository of tools if present.
-OPTIONAL_DIRS := extra
+PARALLEL_OPTIONAL_DIRS := extra
 
 include $(CLANG_LEVEL)/Makefile