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.

llvm-svn: 47715
This commit is contained in:
Gabor Greif 2008-02-28 11:48:14 +00:00
parent 22c62c1641
commit 76e7083f49
1 changed files with 6 additions and 1 deletions

View File

@ -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: