summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-04-01 11:39:04 +0000
committerru <ru@FreeBSD.org>2003-04-01 11:39:04 +0000
commit575e050d5b3948044f7b0f9f8f1b67bd727e7bb4 (patch)
treedbc0f75fd6c8b6b9379eb2ff99f2e8f81d78bfe0 /Makefile.inc1
parent9fcf0741d347f52b686648b21194a1850a21617e (diff)
downloadFreeBSD-src-575e050d5b3948044f7b0f9f8f1b67bd727e7bb4.zip
FreeBSD-src-575e050d5b3948044f7b0f9f8f1b67bd727e7bb4.tar.gz
Parallelize (on the top-level SUBDIR list) the "all" stage of
buildworld. This gives 5-11% percent gain in real buildworld times on various UP and SMP systems here. I used 4 * hw.ncpu as an argument to "make -j" in my tests.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index cf11eff..38bc5085 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -330,7 +330,7 @@ everything:
@echo "--------------------------------------------------------------"
@echo ">>> stage 4: building everything.."
@echo "--------------------------------------------------------------"
- cd ${.CURDIR}; ${WMAKE} all
+ cd ${.CURDIR}; ${WMAKE} par-all
WMAKE_TGTS=
@@ -786,7 +786,7 @@ _startup_libs: ${_startup_libs:S/$/__L/}
_prebuild_libs: ${_prebuild_libs:S/$/__L/}
_generic_libs: ${_generic_libs:S/$/__L/}
-.for __target in clean cleandepend cleandir depend includes obj
+.for __target in all clean cleandepend cleandir depend includes obj
.for entry in ${SUBDIR}
${entry}.${__target}__D: .PHONY
@if test -d ${.CURDIR}/${entry}.${MACHINE_ARCH}; then \
OpenPOWER on IntegriCloud