[llvm-commits] [llvm] r47715 - /llvm/trunk/Makefile
Gabor Greif
ggreif at gmail.com
Thu Feb 28 03:48:19 PST 2008
Author: ggreif
Date: Thu Feb 28 05:48:14 2008
New Revision: 47715
URL: http://llvm.org/viewvc/llvm-project?rev=47715&view=rev
Log:
Treat all targets serially at the toplevel. This allows
to specify
nice gmake --jobs all check
and go to lunch, while a multiprocessor machine
will build everything using spare resources
and check the result thereafter.
Since concurrency of make is not restricted
in subdirectories, this should be a nearly
optimal way to do it.
Also teach the user about a configure switch.
Modified:
llvm/trunk/Makefile
Modified: llvm/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile?rev=47715&r1=47714&r2=47715&view=diff
==============================================================================
--- llvm/trunk/Makefile (original)
+++ llvm/trunk/Makefile Thu Feb 28 05:48:14 2008
@@ -113,7 +113,8 @@
ifeq ($(BuildMode),Debug)
$(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.
+ $(Echo) '*****' make an optimized build. Alternatively you can
+ $(Echo) '*****' configure with --enable-optimized.
endif
check-llvm2cpp:
@@ -143,3 +144,7 @@
.PHONY: srpm rpm
+# declare all targets at this level to be serial:
+
+.NOTPARALLEL:
+
More information about the llvm-commits
mailing list