From 4476fba0b98ff83505108eddb373461ddc000849 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 15 Oct 2017 11:33:16 +0000 Subject: Add optional patch to ninja. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11311 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 11 ++++++++++- chapter03/patches.xml | 8 ++++++++ chapter06/ninja.xml | 36 ++++++++++++++++++++++++++++-------- general.ent | 6 +++--- patches.ent | 4 ++++ 5 files changed, 53 insertions(+), 12 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 10ec11c73..804b65cf0 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,7 +43,16 @@ appropriate for the entry or if needed the entire day's listitem. --> - 2017-10-24 + 2017-10-15 + + + [bdubbs] - Add optional patch to ninja. + + + + + + 2017-10-14 [bdubbs] - Update to bash-4.4.12. Fixes diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 94b6c0763..f0cd51584 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -83,6 +83,14 @@ MD5 sum: &kbd-backspace-patch-md5; + + + Ninja Limit Jobs Patch - &ninja-limit-jobs-patch-size;: + + Download: + MD5 sum: &ninja-limit-jobs-patch-md5; + + + + export NINJAJOBS=4 + + will limit ninja to four parallel processes. + + If desired, install the patch by running: + +patch -Np1 -i ../ninja-1.8.2-add_NINJAJOBS_var-1.patch + + Build Ninja with: python3 configure.py --bootstrap - The meaning of the configure options: + The meaning of the build option: --bootstrap @@ -66,12 +89,9 @@ Install the package: install -vm755 ninja /usr/bin/ -install -vDm644 misc/ninja.vim \ - /usr/share/vim/vim&vim-majmin;/syntax/ninja.vim -install -vDm644 misc/bash-completion \ - /usr/share/bash-completion/completions/ninja -install -vDm644 misc/zsh-completion \ - /usr/share/zsh/site-functions/_ninja +install -vDm644 misc/ninja.vim /usr/share/vim/vim&vim-majmin;/syntax/ninja.vim +install -vDm644 misc/bash-completion /usr/share/bash-completion/completions/ninja +install -vDm644 misc/zsh-completion /usr/share/zsh/site-functions/_ninja diff --git a/general.ent b/general.ent index e4471e9aa..cc79126ff 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/patches.ent b/patches.ent index 3bc22f6ff..dc2a336a5 100644 --- a/patches.ent +++ b/patches.ent @@ -44,6 +44,10 @@ + + + + -- cgit v1.2.3-54-g00ecf