r187246 - Fix up the BUILD_CLANG_ONLY code to work properly after r184794.

Bob Wilson bob.wilson at apple.com
Fri Jul 26 14:08:23 PDT 2013


Author: bwilson
Date: Fri Jul 26 16:08:22 2013
New Revision: 187246

URL: http://llvm.org/viewvc/llvm-project?rev=187246&view=rev
Log:
Fix up the BUILD_CLANG_ONLY code to work properly after r184794.

When BUILD_CLANG_ONLY is set to YES, it is supposed to simply limit the tools
that get built.  The change in r184794 broke this feature by moving libclang
and c-index-test into PARALLEL_DIRS. Those are both supposed to be in DIRS,
because c-index-test has a build dependency on libclang and cannot be
reliably built in parallel with it.

Modified:
    cfe/trunk/tools/Makefile

Modified: cfe/trunk/tools/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/Makefile?rev=187246&r1=187245&r2=187246&view=diff
==============================================================================
--- cfe/trunk/tools/Makefile (original)
+++ cfe/trunk/tools/Makefile Fri Jul 26 16:08:22 2013
@@ -22,8 +22,9 @@ endif
 OPTIONAL_PARALLEL_DIRS := extra
 
 ifeq ($(BUILD_CLANG_ONLY),YES)
-  PARALLEL_DIRS := driver libclang c-index-test
-  OPTIONAL_DIRS :=
+  DIRS := libclang c-index-test
+  PARALLEL_DIRS := driver
+  OPTIONAL_PARALLEL_DIRS :=
 endif
 
 include $(CLANG_LEVEL)/Makefile





More information about the cfe-commits mailing list