diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-08-09 20:40:24 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-08-09 20:40:24 +0000 |
commit | 86073673d0d39d9ba2e829d0f74a09ee1f304698 (patch) | |
tree | 746d5d4871ece916e3febc10388a87e57a7bd44e | |
parent | af310b1c7e3136eda858b9e6309cd21b90f85850 (diff) |
Make all of the tools build in parallel. Missing this caused incremental
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
-rw-r--r-- | tools/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile index e7aa2fa4ff..0bae772a97 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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 |