mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
ninja: style "ninja" (for the program) with <command>
Or the mix up of "ninja" and "Ninja" will seem puzzling...
This commit is contained in:
parent
30f5283fab
commit
4640b37d96
@ -49,12 +49,12 @@
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Ninja</title>
|
||||
|
||||
<para>When run, ninja normally utilizes the greatest possible number of processes
|
||||
in parallel. By default this is the number of cores on the system,
|
||||
<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 ninja is invoked from the command line, passing the -jN parameter
|
||||
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 ninja, and do not pass the -j parameter on to it.</para>
|
||||
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,9 +62,9 @@
|
||||
|
||||
<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, make ninja recognize the environment variable
|
||||
<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 \
|
||||
|
Loading…
Reference in New Issue
Block a user