From: Duncan Sands Date: Wed, 7 Jul 2010 16:48:16 +0000 (+0000) Subject: Issue the warning about being slow whenever optimization is disabled, X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2b48c33936d5cbfcb8b48331963c71e99d88c8ae;p=oota-llvm.git Issue the warning about being slow whenever optimization is disabled, and not just for Debug+Asserts builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107792 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile b/Makefile index 057fb2a1411..d42f887b6b1 100644 --- a/Makefile +++ b/Makefile @@ -181,7 +181,7 @@ $(FilesToConfigPATH) : $(LLVM_OBJ_ROOT)/% : $(LLVM_SRC_ROOT)/%.in ifneq ($(BUILD_DIRS_ONLY),1) all:: $(Echo) '*****' Completed $(BuildMode) Build -ifeq ($(BuildMode),Debug+Asserts) +ifneq ($(ENABLE_OPTIMIZED),1) $(Echo) '*****' Note: Debug build can be 10 times slower than an $(Echo) '*****' optimized build. Use 'make ENABLE_OPTIMIZED=1' to $(Echo) '*****' make an optimized build. Alternatively you can