aboutsummaryrefslogtreecommitdiff
path: root/share/man/man7/build.7
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2017-12-31 18:53:13 +0000
committerIan Lepore <ian@FreeBSD.org>2017-12-31 18:53:13 +0000
commite93e5bb0fac93ce2bf84b2a705cd71938169825e (patch)
treebd69095ee8ef517ac7a4c3af288735bc377128cb /share/man/man7/build.7
parent0ac9f3f67f26685812e226ab146b4b68adc5ee05 (diff)
downloadsrc-e93e5bb0fac93ce2bf84b2a705cd71938169825e.tar.gz
src-e93e5bb0fac93ce2bf84b2a705cd71938169825e.zip
Allow use of .WAIT in the LOCAL_DIRS and LOCAL_LIB_DIRS lists.
A comment in Makefile.inc1 has long stated that LOCAL_DIRS are built last, after the base system. Incremental improvements in parallel building over the years have led to LOCAL_DIRS being built in parallel with base system directories. This change allows the .WAIT directive to appear in LOCAL_DIRS and LOCAL_LIB_DIRS lists to give the user some control over parallel building of local additions. Differential Revision: https://reviews.freebsd.org/D13622
Notes
Notes: svn path=/head/; revision=327439
Diffstat (limited to 'share/man/man7/build.7')
-rw-r--r--share/man/man7/build.720
1 files changed, 19 insertions, 1 deletions
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
index aabae96fa7ab..d3f01661835d 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 3, 2017
+.Dd December 24, 2017
.Dt BUILD 7
.Os
.Sh NAME
@@ -509,6 +509,15 @@ If set, this variable supplies a list of additional directories relative to
the root of the source tree to build as part of the
.Cm everything
target.
+The directories are built in parallel with each other,
+and with the base system directories.
+Insert a
+.Va .WAIT
+directive at the beginning of the
+.Va LOCAL_DIRS
+list to ensure all base system directories are built first.
+.Va .WAIT
+may also be used as needed elsewhere within the list.
.It Va LOCAL_ITOOLS
If set, this variable supplies a list of additional tools that are used by the
.Cm installworld
@@ -520,6 +529,15 @@ If set, this variable supplies a list of additional directories relative to
the root of the source tree to build as part of the
.Cm libraries
target.
+The directories are built in parallel with each other,
+and with the base system libraries.
+Insert a
+.Va .WAIT
+directive at the beginning of the
+.Va LOCAL_DIRS
+list to ensure all base system libraries are built first.
+.Va .WAIT
+may also be used as needed elsewhere within the list.
.It Va LOCAL_MTREE
If set, this variable supplies a list of additional mtrees relative to the
root of the source tree to use as part of the