Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalakrishna Avulapati <bavulapati@gmail.com>2022-02-25 06:20:41 +0300
committerGitHub <noreply@github.com>2022-02-25 06:20:41 +0300
commitd5e94fa7121c9d424588f0e1a388f8c72c784622 (patch)
treedee2d828a720758bc963aed3ee8575a86b1b70e6 /BUILDING.md
parent626367c4e3b57dab3e6c1e9926cc24e2d662e14a (diff)
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: https://github.com/nodejs/node/pull/41840 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
Diffstat (limited to 'BUILDING.md')
-rw-r--r--BUILDING.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/BUILDING.md b/BUILDING.md
index 424b2a7adc9..32cc5fc260d 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -273,6 +273,10 @@ $ ./configure
$ make -j4
```
+We can speed up the builds by using [Ninja](https://ninja-build.org/). For more
+information, see
+[Building Node.js with Ninja](doc/contributing/building-node-with-ninja.md).
+
The `-j4` option will cause `make` to run 4 simultaneous compilation jobs which
may reduce build time. For more information, see the
[GNU Make Documentation](https://www.gnu.org/software/make/manual/html_node/Parallel.html).