summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-02-28 11:48:14 +0000
committerGabor Greif <ggreif@gmail.com>2008-02-28 11:48:14 +0000
commit2ae19553980ac99a8881445623f55cc8f153cce3 (patch)
treec195fe542357f11a4873d20e9906215621df4671 /Makefile
parentc0734e3c994b55d054916921ef2d5eb9bc04f28d (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d9786d2ac05..837c2d72228 100644
--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,8 @@ all::
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 @@ build-for-llvm-top:
.PHONY: srpm rpm
+# declare all targets at this level to be serial:
+
+.NOTPARALLEL:
+