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. Also, Ninja will likely
26 compile much faster than even `make -j4` (or
27 `-j<number of processor threads on your machine>`). You can still pass the
28 number of processes to run for [Ninja][] using the environment variable `JOBS`.
29 This will be the equivalent to the `-j` parameter in the regular `make`:
35 ## Producing a debug build
37 To create a debug build rather than a release build:
40 ./configure --ninja --debug && make
43 [Ninja]: https://ninja-build.org/