aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/ninja.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2022-12-15 10:24:33 -0600
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2022-12-15 10:24:33 -0600
commitdbaab9969490a759239eebe887c5af5a5d01ea98 (patch)
treee5da1a80e1995d66192fa513951d78b3b74314ea /chapter08/ninja.xml
parentc9aabf13a1e8e1fb57688a7dea2f2ca2f1a9e1ab (diff)
parent0c4501b5b186b116b90aa19fd7fb6087b3d70a69 (diff)
Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk
Diffstat (limited to 'chapter08/ninja.xml')
-rw-r--r--chapter08/ninja.xml26
1 files changed, 13 insertions, 13 deletions
diff --git a/chapter08/ninja.xml b/chapter08/ninja.xml
index 4f3a25e88..74626e30c 100644
--- a/chapter08/ninja.xml
+++ b/chapter08/ninja.xml
@@ -36,10 +36,10 @@
</segmentedlist>
<tip revision="sysv">
- <para>This section is not strictly required for LFS if not using
- systemd. On the other hand, ninja associated to meson makes
+ <para>This section is not strictly required when LFS does not use
+ systemd. On the other hand, Ninja, along with Meson, makes
a powerful build system combination,
- which is expected to be used more and more often. It is required for
+ which will probably be used more and more often. It is required for
several packages in <ulink url="&blfs-book;">the BLFS
book</ulink>.</para>
</tip>
@@ -49,12 +49,12 @@
<sect2 role="installation">
<title>Installation of Ninja</title>
- <para>When run, ninja normally runs a maximum number of processes
- in parallel. By default this is the number of cores on the system
- plus two. In some cases this can overheat a CPU or run a system out
- of memory. If run from the command line, passing a -jN parameter
- will limit the number of parallel processes, but some packages
- embed the execution of ninja and do not pass a -j parameter.</para>
+ <para>When run, <command>ninja</command> normally utilizes the greatest
+ possible number of processes in parallel. By default this is the number of cores on the system,
+ plus two. This may overheat the CPU, or make the system run out
+ of memory. When <command>ninja</command> is invoked from the command line, passing the -jN parameter
+ will limit the number of parallel processes. Some packages
+ embed the execution of <command>ninja</command>, and do not pass the -j parameter on to it.</para>
<para>Using the <emphasis>optional</emphasis> procedure below allows a user to
limit the number of parallel processes via an environment variable,
@@ -62,10 +62,10 @@
<screen>export NINJAJOBS=4</screen>
- will limit ninja to four parallel processes.</para>
+ will limit <command>ninja</command> to four parallel processes.</para>
- <para>If desired, add the capability to use the environment variable
- NINJAJOBS by running:</para>
+ <para>If desired, make <command>ninja</command> recognize the environment variable
+ NINJAJOBS by running the stream editor:</para>
<screen><userinput remap="pre">sed -i '/int Guess/a \
int j = 0;\
@@ -84,7 +84,7 @@
<varlistentry>
<term><parameter>--bootstrap</parameter></term>
<listitem>
- <para>This parameter forces ninja to rebuild itself for the current
+ <para>This parameter forces Ninja to rebuild itself for the current
system.</para>
</listitem>
</varlistentry>