Run make in parallel.
This is mostly targetting the 'installconfig' phase of 'distribution' which does a full tree walk. MFC after: 2 weeks
This commit is contained in:
parent
4160ed6f8b
commit
3701dbc859
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355379
@ -508,6 +508,7 @@ SOURCEDIR=$(realpath "$SOURCEDIR")
|
|||||||
|
|
||||||
# Setup make to use system files from SOURCEDIR
|
# Setup make to use system files from SOURCEDIR
|
||||||
MM_MAKE="make ${ARCHSTRING} -m ${SOURCEDIR}/share/mk -DNO_FILEMON"
|
MM_MAKE="make ${ARCHSTRING} -m ${SOURCEDIR}/share/mk -DNO_FILEMON"
|
||||||
|
MM_MAKE="${MM_MAKE} -j$(sysctl -n hw.ncpu)"
|
||||||
|
|
||||||
# Check DESTDIR against the mergemaster mtree database to see what
|
# Check DESTDIR against the mergemaster mtree database to see what
|
||||||
# files the user changed from the reference files.
|
# files the user changed from the reference files.
|
||||||
|
Loading…
Reference in New Issue
Block a user