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

Daniel Dunbar daniel at zuster.org
Mon Nov 16 14:38:01 PST 2009


Author: ddunbar
Date: Mon Nov 16 16:38:00 2009
New Revision: 88979

URL: http://llvm.org/viewvc/llvm-project?rev=88979&view=rev
Log:
Don't build examples by default, use BUILD_EXAMPLES=1 to build them. The only utility of this is testing that we keep the examples up to date, I will just make the buildbots run with this flag.

Modified:
    llvm/trunk/Makefile

Modified: llvm/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile?rev=88979&r1=88978&r2=88979&view=diff

==============================================================================
--- llvm/trunk/Makefile (original)
+++ llvm/trunk/Makefile Mon Nov 16 16:38:00 2009
@@ -32,7 +32,11 @@
 else
   DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-config \
           tools runtime docs unittests
-  OPTIONAL_DIRS := examples projects bindings
+  OPTIONAL_DIRS := projects bindings
+endif
+
+ifeq ($(BUILD_EXAMPLES),1)
+  OPTIONAL_DIRS += examples
 endif
 
 EXTRA_DIST := test unittests llvm.spec include win32 Xcode





More information about the llvm-commits mailing list