6.52. Ninja-1.9.0

Ninja is a small build system with a focus on speed.

Approximate build time: 0.2 SBU
Required disk space: 83 MB

6.52.1. Installation of Ninja

Build Ninja with:

python3 configure.py --bootstrap

The meaning of the build option:


This parameter forces ninja to rebuild itself for the current system.

To test the results, issue:

python3 configure.py
./ninja ninja_test
./ninja_test --gtest_filter=-SubprocessTest.SetWithLots

Install the package:

install -vm755 ninja /usr/bin/
install -vDm644 misc/bash-completion /usr/share/bash-completion/completions/ninja
install -vDm644 misc/zsh-completion  /usr/share/zsh/site-functions/_ninja

6.52.2. Contents of Ninja

Installed programs: ninja

Short Descriptions


is the Ninja build system.