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

Duncan Sands baldrick at free.fr
Wed Jul 7 09:48:16 PDT 2010


Author: baldrick
Date: Wed Jul  7 11:48:16 2010
New Revision: 107792

URL: http://llvm.org/viewvc/llvm-project?rev=107792&view=rev
Log:
Issue the warning about being slow whenever optimization is disabled,
and not just for Debug+Asserts builds.

Modified:
    llvm/trunk/Makefile

Modified: llvm/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile?rev=107792&r1=107791&r2=107792&view=diff
==============================================================================
--- llvm/trunk/Makefile (original)
+++ llvm/trunk/Makefile Wed Jul  7 11:48:16 2010
@@ -181,7 +181,7 @@
 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





More information about the llvm-commits mailing list