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

gyp,build: consistent shared library location #35626

Closed
wants to merge 1 commit into from

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Oct 13, 2020

Ref: nodejs/node-gyp#2233
Ref: nodejs/gyp-next#69

Pending agreement on nodejs/gyp-next#69. Perhaps this could be argued to be a breaking change here? But I'm making the case that it's a bugfix for GYP as far as node-gyp and npm is concerned. Doing this here makes it consistent across all (and matches the behaviour node-gyp has had for many years now). This really should go out with npm 7 and node 15, but I have no idea on timing on either of those things.

@nodejs/build
@nodejs/gyp
@nodejs/node-gyp

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. tools Issues and PRs related to the tools directory. labels Oct 13, 2020
@rvagg
Copy link
Member Author

rvagg commented Oct 13, 2020

I should clarify - I've included changes to tools/gyp that are taking the place of code I would hope to be vendored in if/when the upstream patch is accepted

@nodejs-github-bot
Copy link
Collaborator

@Trott Trott added the python PRs and issues that require attention from people who are familiar with Python. label Oct 13, 2020
@nodejs-github-bot
Copy link
Collaborator

Copy link
Contributor

@ryzokuken ryzokuken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall I'm +1 on this change, because it's more consistent and it's better to change Node than break the ecosystem. That said, this PR should not land as it is, since we need to merge the gyp PR, cut a release and upgrade instead of directly changing the files.

@MylesBorins
Copy link
Contributor

@ryzokuken @rvagg what is the timeline on the node-gyp update? We should get this updated in npm ASAP too, otherwise for most ecosystem use cases the preferred behavior is not going to happen

@ryzokuken
Copy link
Contributor

@MylesBorins we're cutting a gyp-next release tonight and I could make PRs updating the dependency both here and in node-gyp as soon as that's done.

@rvagg
Copy link
Member Author

rvagg commented Oct 14, 2020

@MylesBorins re timeline, I'll get node-gyp out asap but we have consistent windows failures now on nodejs/node-gyp#2236 so we'll have to wait to figure those out.

@rvagg rvagg mentioned this pull request Oct 14, 2020
4 tasks
@rvagg
Copy link
Member Author

rvagg commented Oct 14, 2020

have pulled this commit in to #35635

@rvagg rvagg closed this Oct 14, 2020
@rvagg rvagg deleted the rvagg/gyp-lib.target branch October 14, 2020 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. python PRs and issues that require attention from people who are familiar with Python. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants