-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Number of processes used by 'make' should not be specified in documentation #8286
Comments
Removing specified number of jobs from -j option in the documentation steps for running the make command. A '-j' without a number specified will use the maximum number allowed for any given machine. Fixes: nodejs#8286
Running
Probably best bet is to just standardize everything on |
That is a very good reason not to recommend
|
I always turn my |
I'd rather not recommend BTW: Wouldn't something like |
I think any of the following would be a slight improvement over the current situation:
|
I think we should standardize (Note: I use |
We had problems in the release CI where -j was specified, causing failures due to the high load so we definitely don't want -j. What we really want is -j $(NUM_CPUS) but that might be a bit wordy to explain properly. |
On most UNIX-y systems you can write |
@thecoolestguy It seems like there are a lot of options here, none of which is the clear frontrunner for consensus. However, all seem better than the current situation. I'd recommend reading the discussion here, picking the option you are most convinced of, and updating your pull request appropriately. While I have my preference, I can live with any of the alternatives discussed and I'd rather see one land than have it stall out due to a lack of clear consensus. I suspect others will feel the same way as the one thing we do have consensus about is that the current docs about |
#9961 Should fix this. |
I'm going to close this as stalled, but feel free to comment or re-open if anyone thinks that's not the right thing to do. |
Adds a note to the BUILDING doc to encourage parallelizing make. When I first built node I didn't know this trick and thought that the build was just stuck in an infinite loop after waiting for 10 minutes. Refs: #8286 Refs: #9881 PR-URL: #9961 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
Adds a note to the BUILDING doc to encourage parallelizing make. When I first built node I didn't know this trick and thought that the build was just stuck in an infinite loop after waiting for 10 minutes. Refs: #8286 Refs: #9881 PR-URL: #9961 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
Adds a note to the BUILDING doc to encourage parallelizing make. When I first built node I didn't know this trick and thought that the build was just stuck in an infinite loop after waiting for 10 minutes. Refs: #8286 Refs: #9881 PR-URL: #9961 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
Adds a note to the BUILDING doc to encourage parallelizing make. When I first built node I didn't know this trick and thought that the build was just stuck in an infinite loop after waiting for 10 minutes. Refs: #8286 Refs: #9881 PR-URL: #9961 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
Adds a note to the BUILDING doc to encourage parallelizing make. When I first built node I didn't know this trick and thought that the build was just stuck in an infinite loop after waiting for 10 minutes. Refs: #8286 Refs: #9881 PR-URL: #9961 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
In several of the documentation files, the number of simultaneous jobs is specified by the -j option and the number varies between files. According to the 'make' man page, "If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously." The documentation should just have a '-j' without a number, so as to remain system-agnostic.
The files in which this issue resides are as follows:
https://github.com/nodejs/node/blob/master/doc/onboarding.md
https://github.com/nodejs/node/blob/master/doc/onboarding-extras.md
https://github.com/nodejs/node/blob/master/doc/guides/building-node-with-ninja.md
https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
https://github.com/nodejs/node/blob/master/.github/PULL_REQUEST_TEMPLATE.md
The text was updated successfully, but these errors were encountered: