mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
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.
This commit is contained in:
parent
b9040d98f9
commit
cdcdfd877b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112937
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user