[llvm-commits] [llvm] r120196 - /llvm/trunk/Makefile

Daniel Dunbar daniel at zuster.org
Fri Nov 26 22:59:17 PST 2010


Author: ddunbar
Date: Sat Nov 27 00:59:16 2010
New Revision: 120196

URL: http://llvm.org/viewvc/llvm-project?rev=120196&view=rev
Log:
build/Makefiles: Don't build unittests when ONLY_TOOLS is set.

Modified:
    llvm/trunk/Makefile

Modified: llvm/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile?rev=120196&r1=120195&r2=120196&view=diff
==============================================================================
--- llvm/trunk/Makefile (original)
+++ llvm/trunk/Makefile Sat Nov 27 00:59:16 2010
@@ -99,6 +99,11 @@
   OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS))
 endif
 
+# Don't build unittests when ONLY_TOOLS is set.
+ifneq ($(ONLY_TOOLS),)
+  DIRS := $(filter-out unittests, $(DIRS))
+endif
+
 # If we're cross-compiling, build the build-hosted tools first
 ifeq ($(LLVM_CROSS_COMPILING),1)
 all:: cross-compile-build-tools





More information about the llvm-commits mailing list