[cfe-commits] r164916 - /cfe/trunk/Makefile
Bill Wendling
isanbard at gmail.com
Sun Sep 30 04:23:30 PDT 2012
Author: void
Date: Sun Sep 30 06:23:30 2012
New Revision: 164916
URL: http://llvm.org/viewvc/llvm-project?rev=164916&view=rev
Log:
Filter out tools and unittests which we don't want to build when we're building clang only.
Modified:
cfe/trunk/Makefile
Modified: cfe/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Makefile?rev=164916&r1=164915&r2=164916&view=diff
==============================================================================
--- cfe/trunk/Makefile (original)
+++ cfe/trunk/Makefile Sun Sep 30 06:23:30 2012
@@ -27,6 +27,11 @@
DIRS := $(filter-out tools docs, $(DIRS))
OPTIONAL_DIRS :=
endif
+ifeq ($(MAKECMDGOALS),clang-only)
+ DIRS := $(filter-out tools docs unittests, $(DIRS))
+ tools/driver tools/libclang
+ OPTIONAL_DIRS :=
+endif
###
# Common Makefile code, shared by all Clang Makefiles.
More information about the cfe-commits
mailing list