Lines Matching +full:ninja +full:- +full:build
1 # Building Node.js with Ninja
3 The purpose of this guide is to show how to build Node.js using [Ninja][], as
5 [Ninja's site][Ninja] for installation instructions (Unix only).
7 [Ninja][] is supported in the Makefile. Run `./configure --ninja` to configure
8 the project to run the regular `make` commands with Ninja.
10 For example, `make` will execute `ninja -C out/Release` internally
12 `ln -fs out/Release/node node`, so that you can execute `./node` at
16 if the build has succeeded:
19 ninja: Entering directory `out/Release`
24 `[finished/total]` build steps. This is useful output that `make` does not
25 produce and is one of the benefits of using Ninja. When using Ninja, builds
27 system has. You can use the `-j` parameter to override this behavior,
28 which is equivalent to the `-j` parameter in the regular `make`:
31 make -j4 # With this flag, Ninja will limit itself to 4 parallel jobs,
35 ## Producing a debug build
37 To create a debug build rather than a release build:
40 ./configure --ninja --debug && make
43 ## Customizing `ninja` path
45 On some systems (such as RHEL7 and below), the Ninja binary might be installed
46 with a different name. For these systems use the `NINJA` env var:
49 ./configure --ninja && NINJA="ninja-build" make
52 [Ninja]: https://ninja-build.org/