Skip to content

Commit a32ec98

Browse files
bavulapatisxa
authored andcommitted
doc: make building with ninja more discoverable
Building with ninja would speed up the build We have the documenation about building with ninja, but not easily discoverable. And present this early to the contributors. PR-URL: #41840 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent d0f68a3 commit a32ec98

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

BUILDING.md

+4
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,10 @@ $ ./configure
273273
$ make -j4
274274
```
275275

276+
We can speed up the builds by using [Ninja](https://ninja-build.org/). For more
277+
information, see
278+
[Building Node.js with Ninja](doc/contributing/building-node-with-ninja.md).
279+
276280
The `-j4` option will cause `make` to run 4 simultaneous compilation jobs which
277281
may reduce build time. For more information, see the
278282
[GNU Make Documentation](https://www.gnu.org/software/make/manual/html_node/Parallel.html).

doc/contributing/pull-requests.md

+4
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@ test suite. To run the tests (including code linting) on Unix / macOS:
244244
./configure && make -j4 test
245245
```
246246

247+
We can speed up the builds by using [Ninja](https://ninja-build.org/). For more
248+
information, see
249+
[Building Node.js with Ninja](building-node-with-ninja.md).
250+
247251
And on Windows:
248252

249253
```text

0 commit comments

Comments
 (0)