From 4640b37d9680598de7979b830c0c9dc05615d9cd Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 9 Dec 2022 15:40:14 +0800 Subject: ninja: style "ninja" (for the program) with Or the mix up of "ninja" and "Ninja" will seem puzzling... --- chapter08/ninja.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'chapter08') 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 @@ Installation of Ninja - When run, ninja normally utilizes the greatest possible number of processes - in parallel. By default this is the number of cores on the system, + When run, ninja 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 ninja 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. + embed the execution of ninja, and do not pass the -j parameter on to it. Using the optional procedure below allows a user to limit the number of parallel processes via an environment variable, @@ -62,9 +62,9 @@ export NINJAJOBS=4 - will limit ninja to four parallel processes. + will limit ninja to four parallel processes. - If desired, make ninja recognize the environment variable + If desired, make ninja recognize the environment variable NINJAJOBS by running the stream editor: sed -i '/int Guess/a \ -- cgit v1.2.3-54-g00ecf