Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: improved parallel specification #42679

Merged
merged 4 commits into from
May 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions doc/contributing/building-node-with-ninja.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ ninja: Entering directory `out/Release`

The bottom line will change while building, showing the progress as
`[finished/total]` build steps. This is useful output that `make` does not
produce and is one of the benefits of using Ninja. Also, Ninja will likely
compile much faster than even `make -j4` (or
`-j<number of processor threads on your machine>`). You can still pass the
number of processes to run for [Ninja][] using the environment variable `JOBS`.
This will be the equivalent to the `-j` parameter in the regular `make`:
produce and is one of the benefits of using Ninja. When using Ninja builds
mawaregetsuka marked this conversation as resolved.
Show resolved Hide resolved
are always run in parallel, based by default on the number of CPUs your
system has, you can also use the `-j` parameter if you don't want to use
all the CPU. This will be the equivalent to the `-j` parameter in the
regular `make`:
mawaregetsuka marked this conversation as resolved.
Show resolved Hide resolved

```bash
JOBS=12 make
make -j [number]
mawaregetsuka marked this conversation as resolved.
Show resolved Hide resolved
```

## Producing a debug build
Expand Down