Skip to content

Commit 6b8460b

Browse files
jakecastellimarco-ippolito
authored andcommittedJul 19, 2024
doc: add note to ninjia build for macOS using -jn flag
PR-URL: #53187 Fixes: #53176 Refs: #53176 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 394e00f commit 6b8460b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎doc/contributing/building-node-with-ninja.md

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ make -j4 # With this flag, Ninja will limit itself to 4 parallel jobs,
3838
# regardless of the number of cores on the current machine.
3939
```
4040

41+
Note: if you are on macOS and use GNU Make version `3.x`, the `-jn` flag
42+
will not work. You can either upgrade to `v4.x` (e.g. using a package manager
43+
such as [Homebrew](https://formulae.brew.sh/formula/make#default)) or use `make JOBS=n`.
44+
4145
## Producing a debug build
4246

4347
To create a debug build rather than a release build:

0 commit comments

Comments
 (0)