Update parallel build instructions as MAKE_JOBS_SAFE is the default now.
Add a missing </para> tag to the provided patch in order to build the porters handbook after applying it. PR: docs/185521 Submitted by: jgh@
This commit is contained in:
parent
6fd377e57e
commit
0fcb4dcd00
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43436
1 changed files with 7 additions and 15 deletions
|
|
@ -5624,21 +5624,13 @@ IGNORE= may not be redistributed because of licensing reasons. Please visit <rep
|
|||
builds to be faster and more effective.</para>
|
||||
|
||||
<para>This is achieved by passing <varname>-jX</varname> flag
|
||||
to &man.make.1; running on vendor code. Unfortunately, not
|
||||
all ports handle parallel building well. Therefore it is
|
||||
required to explicitly enable this feature by adding
|
||||
<literal>MAKE_JOBS_SAFE=yes</literal> somewhere below the
|
||||
dependency declaration section of the
|
||||
<filename>Makefile</filename>.</para>
|
||||
|
||||
<para>Another option for controlling this feature from the
|
||||
maintainer's point of view is the
|
||||
<varname>MAKE_JOBS_UNSAFE=yes</varname> variable. It is
|
||||
used when a port is known to be broken with
|
||||
<varname>-jX</varname> and a user forces the use of multi
|
||||
processor compilations for all ports in
|
||||
<filename>/etc/make.conf</filename> with the
|
||||
<literal>FORCE_MAKE_JOBS=yes</literal> variable.</para>
|
||||
to &man.make.1; running on vendor code. This is the default
|
||||
build behavior of ports. Unfortunately, not all ports handle
|
||||
parallel building well and it may be required to explicitly
|
||||
disable this feature by adding the
|
||||
<literal>MAKE_JOBS_UNSAFE=yes</literal> variable. It is used
|
||||
when a port is known to be broken with
|
||||
<varname>-jX</varname>.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="using-make">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue