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.

llvm-svn: 161612
This commit is contained in:
Chandler Carruth 2012-08-09 20:40:24 +00:00
parent 462227b08b
commit 69335414c1

View 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