-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
gyp: muffle xcode-select warnings #21784
Conversation
bcc7f35
to
1063a8a
Compare
Muffle gyp from creating xcode-select related warnings, essentially flooding the console. Co-authored-by: Gibson Fahnestock <[email protected]> Refs: nodejs/node-gyp#1370 Refs: nodejs#21520
1063a8a
to
1c91528
Compare
Is the benefit of discarding the spurious error greater than the cost of swallowing other useful debugging information in the event of a real error? (I don't know the answer.) |
See discussion in #21520 , but I'd say absolutely. This is the minimal changeset, and it shouldn't swallow any relevant errors. See nodejs/node-gyp#569 for the pain it causes, I think we should keep the in-tree GYP build as similar as possible to the node-gyp version in any case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM FWIW, but would appreciate other reviews.
Radical idea: What if we dropped the in-tree gyp in favour of the one embedded in node-gyp (which we are already dependent on to build the addon tests)? |
@nodejs/build @nodejs/node-gyp |
What's the status on this one? |
@richardlau has an excellent suggestion, but this PR can be landed nonetheless. |
Noticed that nobody landed this, but it has enough approvals, etc. Landing this in a few hours unless someone objects. |
@ryzokuken if you'd like to submit a PR "upstream", where we could debate the finer point of this case. |
This has conflicts and needs an up to date CI run. |
I'm going to close this as |
@refack will do. |
Waiiit a minute. Why would I open two PRs with the exact same goal? |
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes/cc @nodejs/gyp @gibfahn
sorry for holding this off until today 😅
Do we use a different version of gyp as compared to node-gyp? I found all the right function calls but they were calling different things, so had been wondering.