Changeset 524c5e3 for chapter08/ninja.xml
- Timestamp:
- 12/09/2022 07:53:16 AM (16 months ago)
- Branches:
- xry111/clfs-ng
- Children:
- f16e611
- Parents:
- 2ef64c4 (diff), 4640b37d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/ninja.xml
r2ef64c4 r524c5e3 37 37 38 38 <tip revision="sysv"> 39 <para>This section is not strictly required for LFS if not using40 systemd. On the other hand, ninja associated to mesonmakes39 <para>This section is not strictly required when LFS does not use 40 systemd. On the other hand, Ninja, along with Meson, makes 41 41 a powerful build system combination, 42 which is expected tobe used more and more often. It is required for42 which will probably be used more and more often. It is required for 43 43 several packages in <ulink url="&blfs-book;">the BLFS 44 44 book</ulink>.</para> … … 50 50 <title>Installation of Ninja</title> 51 51 52 <para>When run, ninja normally runs a maximum number of processes53 in parallel. By default this is the number of cores on the system54 plus two. In some cases this can overheat a CPU or run a systemout55 of memory. If run from the command line, passing a-jN parameter56 will limit the number of parallel processes , but some packages57 embed the execution of ninja and do not pass a -j parameter.</para>52 <para>When run, <command>ninja</command> normally utilizes the greatest 53 possible number of processes in parallel. By default this is the number of cores on the system, 54 plus two. This may overheat the CPU, or make the system run out 55 of memory. When <command>ninja</command> is invoked from the command line, passing the -jN parameter 56 will limit the number of parallel processes. Some packages 57 embed the execution of <command>ninja</command>, and do not pass the -j parameter on to it.</para> 58 58 59 59 <para>Using the <emphasis>optional</emphasis> procedure below allows a user to … … 63 63 <screen>export NINJAJOBS=4</screen> 64 64 65 will limit ninjato four parallel processes.</para>65 will limit <command>ninja</command> to four parallel processes.</para> 66 66 67 <para>If desired, add the capability to use the environment variable68 NINJAJOBS by running :</para>67 <para>If desired, make <command>ninja</command> recognize the environment variable 68 NINJAJOBS by running the stream editor:</para> 69 69 70 70 <screen><userinput remap="pre">sed -i '/int Guess/a \ … … 85 85 <term><parameter>--bootstrap</parameter></term> 86 86 <listitem> 87 <para>This parameter forces ninja to rebuild itself for the current87 <para>This parameter forces Ninja to rebuild itself for the current 88 88 system.</para> 89 89 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.