From da589a3a963e6cc179d850c5fd395d3e10ce741c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 16 Nov 2009 22:38:00 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88979 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 671f92c77e8..31c1b6961a3 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,11 @@ ifeq ($(BUILD_DIRS_ONLY),1) 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