diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-12-09 15:40:14 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-12-09 15:40:14 +0800 |
commit | 4640b37d9680598de7979b830c0c9dc05615d9cd (patch) | |
tree | 5c9beb6677cbf210d544d75300535dc81e1221e0 /chapter08 | |
parent | 30f5283fab13237eb27c9736dc45d697f1aa8daf (diff) |
ninja: style "ninja" (for the program) with <command>
Or the mix up of "ninja" and "Ninja" will seem puzzling...
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/ninja.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter08/ninja.xml b/chapter08/ninja.xml index 7c72b9598..74626e30c 100644 --- a/chapter08/ninja.xml +++ b/chapter08/ninja.xml @@ -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 \ |