Changeset 4476fba


Ignore:
Timestamp:
10/15/2017 11:33:16 AM (4 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, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
9220470
Parents:
dd637ac
Message:

Add optional patch to ninja.

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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rdd637ac r4476fba  
    4444-->
    4545    <listitem>
    46       <para>2017-10-24</para>
     46      <para>2017-10-15</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[bdubbs] - Add optional patch to ninja.</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
     53
     54    <listitem>
     55      <para>2017-10-14</para>
    4756      <itemizedlist>
    4857        <listitem>
  • chapter03/patches.xml

    rdd637ac r4476fba  
    8484      </listitem>
    8585    </varlistentry>
     86
     87    <varlistentry>
     88      <term>Ninja Limit Jobs Patch - <token>&ninja-limit-jobs-patch-size;</token>:</term>
     89      <listitem>
     90        <para>Download: <ulink url="&patches-root;&ninja-limit-jobs-patch;"/></para>
     91        <para>MD5 sum: <literal>&ninja-limit-jobs-patch-md5;</literal></para>
     92      </listitem>
     93    </varlistentry>
    8694<!--
    8795    <varlistentry>
  • chapter06/ninja.xml

    rdd637ac r4476fba  
    4141    <title>Installation of Ninja</title>
    4242
    43     <para>Prepare Ninja for compilation:</para>
     43    <para>When run, ninja normally runs a maximum number of processes
     44    in parallel.  By default this is the number of cores on the system
     45    plus two.  In some cases this can overheat a CPU or run a system out
     46    of memory.  If run from the command line, passing a -jN parameter
     47    will limit the number of parallel processes, but some packages
     48    embed the execution of ninja and do not pass a -j parameter.</para>
     49
     50    <para>Using the <emphasis>optional</emphasis> patch below allows a user to
     51    limit the number of parallel processes via an environment variable,
     52    NINJAJOBS.  <command>For example</command> setting:
     53
     54     <!-- Using <command> here to make the output bold.  We really don't want
     55     users setting this now and experience shows that many users blindly
     56     copy/paste anything in a box. -->
     57
     58    <screen>export NINJAJOBS=4</screen>
     59
     60    will limit ninja to four parallel processes.</para>
     61
     62    <para>If desired, install the patch by running:</para>
     63
     64<screen><userinput remap="pre">patch -Np1 -i ../ninja-1.8.2-add_NINJAJOBS_var-1.patch</userinput></screen>
     65
     66    <para>Build Ninja with:</para>
    4467
    4568<screen><userinput remap="configure">python3 configure.py --bootstrap</userinput></screen>
    4669
    4770    <variablelist>
    48       <title>The meaning of the configure options:</title>
     71      <title>The meaning of the build option:</title>
    4972
    5073      <varlistentry>
     
    6790
    6891<screen><userinput remap="install">install -vm755 ninja /usr/bin/
    69 install -vDm644 misc/ninja.vim \
    70                 /usr/share/vim/vim&vim-majmin;/syntax/ninja.vim
    71 install -vDm644 misc/bash-completion \
    72                 /usr/share/bash-completion/completions/ninja
    73 install -vDm644 misc/zsh-completion \
    74                 /usr/share/zsh/site-functions/_ninja</userinput></screen>
     92install -vDm644 misc/ninja.vim       /usr/share/vim/vim&vim-majmin;/syntax/ninja.vim
     93install -vDm644 misc/bash-completion /usr/share/bash-completion/completions/ninja
     94install -vDm644 misc/zsh-completion  /usr/share/zsh/site-functions/_ninja</userinput></screen>
    7595
    7696  </sect2>
  • general.ent

    rdd637ac r4476fba  
    1 <!ENTITY version         "SVN-20171014">
     1<!ENTITY version         "SVN-20171015">
    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        "20171014-systemd">
     6<!ENTITY versiond        "20171015-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "October 14, 2017">
     10<!ENTITY releasedate     "October 15, 2017">
    1111
    1212<!ENTITY copyrightdate   "1999-2017"><!-- jhalfs needs a literal dash, not &ndash; -->
  • patches.ent

    rdd637ac r4476fba  
    4545<!ENTITY kbd-backspace-patch-size "12 KB">
    4646
     47<!ENTITY ninja-limit-jobs-patch "ninja-&ninja-version;-add_NINJAJOBS_var-1.patch">
     48<!ENTITY ninja-limit-jobs-patch-md5 "f537a633532492e805aa342fa869ca45">
     49<!ENTITY ninja-limit-jobs-patch-size "2.5">
     50
    4751<!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch">
    4852<!ENTITY sysvinit-consolidated-patch-md5 "0b7b5ea568a878fdcc4057b2bf36e5cb">
Note: See TracChangeset for help on using the changeset viewer.