build: reduce one level of spawning in node_gyp#12653
Conversation
tools/gyp_node.py
Outdated
There was a problem hiding this comment.
Don't make unrelated changes in a single commit, split it out into two commits.
There was a problem hiding this comment.
Split. or should it be Splat Done.
configure
Outdated
There was a problem hiding this comment.
Superfluous. errorlevel is always zero because run_gyp() exits on error.
|
@bnoordhuis fixed PTAL |
tools/gyp_node.py
Outdated
There was a problem hiding this comment.
While you're here, can you drop the extraneous space before the =?
tools/gyp_node.py
Outdated
tools/gyp_node.py
Outdated
There was a problem hiding this comment.
You can just run_gyp(sys.argv[1:]) here, it's already a list.
|
By the way, the second commit log should be brought up to par with the style guide. |
Ack |
|
Addressed all comments and rebased. |
`configure` will now call `node_gyp` as a module instead of forking makes it easier to debug PR-URL: nodejs#12653 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
PR-URL: nodejs#12653 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
|
landed in 8035527 |
|
Post land double check |
`configure` will now call `node_gyp` as a module instead of forking makes it easier to debug PR-URL: nodejs#12653 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
PR-URL: nodejs#12653 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
|
should this be backported to v6.x? |
I think so. |
PR-URL: #12653 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
PR-URL: #12653 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
`configure` will now call `node_gyp` as a module instead of forking makes it easier to debug PR-URL: #12653 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
`configure` will now call `node_gyp` as a module instead of forking makes it easier to debug PR-URL: #12653 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
configurewill now callnode_gypas a module instead of forkingmakes it easier to debug
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
build