Ninja is a small build system with a focus on speed.
This package is known to build and work properly using an LFS-8.0 platform.
Download this file via wget as:
wget https://github.com/ninja-build/ninja/archive/v1.7.2.tar.gz \ -O ninja-1.7.2.tar.gz
Download (HTTP): https://github.com/ninja-build/ninja/archive/v1.7.2.tar.gz
Download MD5 sum: 7b482218757acbaeac4d4d54a3cd94e1
Download size: 176 KB
Estimated disk space required: 58.0 MB
Estimated build time: 0.2 SBU
re2c (only needed to modify the build), Emacs-25.1 (to generate lisp files), asciidoc-8.6.9 (to build the manual), and Doxygen-1.8.13 (to build API documenatation)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/ninja
Install Ninja by running the following commands:
./configure.py --bootstrap
If Emacs is installed and you wish to build lisp files:
emacs -Q --batch -f batch-byte-compile misc/ninja-mode.el
To test the results, issue the following commands:
./configure.py && ./ninja ninja_test && ./ninja_test --gtest_filter=-SubprocessTest.SetWithLots
Now, as the root
user:
install -vm755 ninja /usr/bin/ && install -vDm644 misc/ninja.vim \ /usr/share/vim/vim74/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
If Emacs is installed, while still the root
user:
install -vDm644 misc/ninja-mode.el \ /usr/share/emacs/site-lisp/ninja-mode.el install -vDm644 misc/ninja-mode.elc \ /usr/share/emacs/site-lisp/ninja-mode.elc
If you have asciidoc-8.6.9 installed and wish to build the
HTML manual, execute the following commands (as the root
user):
ninja manual && install -vDm644 doc/manual.html /usr/share/doc/ninja-1.7.2/manual.html
If you have Doxygen-1.8.13 installed and wish to build the
API documentation, execute the following commands (as the
root
user):
ninja doxygen && install -vDdm644 doc/doxygen/html/* /usr/share/doc/ninja-1.7.2/
emacs -Q --batch -f batch-byte-compile misc/ninja-mode.el: regenerates the emacs lisp files.
Last updated on 2017-02-22 11:24:59 -0800