diff --git a/programming/build/ninja/actions.py b/programming/build/ninja/actions.py index ebed583e41..068b5e25d8 100644 --- a/programming/build/ninja/actions.py +++ b/programming/build/ninja/actions.py @@ -11,6 +11,13 @@ from pisi.actionsapi import get def build(): + shelltools.system("""sed -i '/int Guess/a \ + int j = 0;\ + char* jobs = getenv( "NINJAJOBS" );\ + if ( jobs != NULL ) j = atoi( jobs );\ + if ( j > 0 ) return j;\ + ' src/ninja.cc""") + shelltools.system("python configure.py --bootstrap") shelltools.system("asciidoc doc/manual.asciidoc") shelltools.system("emacs -Q --batch -f batch-byte-compile misc/ninja-mode.el") diff --git a/programming/build/ninja/pspec.xml b/programming/build/ninja/pspec.xml index 7766985f03..494913da8c 100644 --- a/programming/build/ninja/pspec.xml +++ b/programming/build/ninja/pspec.xml @@ -12,7 +12,7 @@ app:console Ninja is a small build system with a focus on speed. Ninja is a small build system with a focus on speed. - https://github.com/ninja-build/ninja/archive/v1.8.2.tar.gz + https://github.com/ninja-build/ninja/archive/v1.9.0.tar.gz re2c asciidoc @@ -37,6 +37,13 @@ + + 2019-05-31 + 1.9.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2019-02-01 1.8.2