Changeset e050677


Ignore:
Timestamp:
02/19/2019 06:05:57 AM (5 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
43eb476
Parents:
1d19f36
Message:

Add an optional modification to theh build procedure for ninja to allow use the
the environment variable NINJAJOBS.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11526 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r1d19f36 re050677  
    4444-->
    4545    <listitem>
    46       <para>2019-02-011</para>
     46      <para>2019-02-19</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[bdubbs] - Add an optional modification to theh build
     50          procedure for ninja to allow use the the environment
     51          variable NINJAJOBS.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem>
     57      <para>2019-02-14</para>
    4758      <itemizedlist>
    4859        <listitem>
     
    5970
    6071    <listitem>
    61       <para>2019-02-011</para>
     72      <para>2019-02-11</para>
    6273      <itemizedlist>
    6374        <listitem>
  • chapter06/ninja.xml

    r1d19f36 re050677  
    4040  <sect2 role="installation">
    4141    <title>Installation of Ninja</title>
    42 <!--
     42
    4343    <para>When run, ninja normally runs a maximum number of processes
    4444    in parallel.  By default this is the number of cores on the system
     
    4848    embed the execution of ninja and do not pass a -j parameter.</para>
    4949
    50     <para>Using the <emphasis>optional</emphasis> patch below allows a user to
     50    <para>Using the <emphasis>optional</emphasis> procedure below allows a user to
    5151    limit the number of parallel processes via an environment variable,
    52     NINJAJOBS.  <command>For example</command> setting:
     52    NINJAJOBS.  <command>For example</command>, setting:
    5353
    54      <!- - Using <command> here to make the output bold.  We really don't want
     54     <!--Using <command> here to make the output bold.  We really don't want
    5555     users setting this now and experience shows that many users blindly
    56      copy/paste anything in a box. - ->
     56     copy/paste anything in a box. -->
    5757
    5858    <screen>export NINJAJOBS=4</screen>
     
    6060    will limit ninja to four parallel processes.</para>
    6161
    62     <para>If desired, install the patch by running:</para>
     62    <para>If desired, add the capability to use the environment variable
     63    NINJAJOBS by running:</para>
    6364
    64 <screen><userinput remap="pre">patch -Np1 -i ../ninja-1.8.2-add_NINJAJOBS_var-1.patch</userinput></screen>
    65 -->
     65<screen><userinput remap="pre">sed -i '/int Guess/a \
     66  int   j = 0;\
     67  char* jobs = getenv( "NINJAJOBS" );\
     68  if ( jobs != NULL ) j = atoi( jobs );\
     69  if ( j > 0 ) return j;\
     70' src/ninja.cc</userinput></screen>
     71
    6672    <para>Build Ninja with:</para>
    6773
  • general.ent

    r1d19f36 re050677  
    1 <!ENTITY version         "SVN-20190214">
     1<!ENTITY version         "SVN-20190219">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20190214-systemd">
     6<!ENTITY versiond        "20190219-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "February 14, 2019">
     10<!ENTITY releasedate     "February 19, 2019">
    1111
    1212<!ENTITY copyrightdate   "1999-2019"><!-- jhalfs needs a literal dash, not &ndash; -->
Note: See TracChangeset for help on using the changeset viewer.