Author: chandlerc
Date: Thu Aug 9 15:40:24 2012
New Revision: 161612
URL: http://llvm.org/viewvc/llvm-project?rev=161612&view=rev
Log:
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.
Modified:
cfe/trunk/tools/Makefile
Modified: cfe/trunk/tools/Makefile
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/Makefile?rev=161612&r1=161611&r2=161612&view=diff
==============================================================================
--- cfe/trunk/tools/Makefile (original)
+++ cfe/trunk/tools/Makefile Thu Aug 9 15:40:24 2012
@@ -11,10 +11,13 @@
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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits