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

deps: cherry-pick 88260bf from node-gyp upstream #56073

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

StefanStojanovic
Copy link
Contributor

This change cherry-picks a small change from node-gyp needed for running native tests on ClangCL compiled binaries. The change was already approved here, so this is just the official port after the changes landed in node-gyp. Next is the part of the description regarding this change from the original PR:

Enforce MSVC to be used for node-gyp. As far as I can tell, this is the intended way of using node-gyp on Windows. The issue with running the native suites is that now we use Clang to compile Node.js, so config.variables.clang is set to 1, which makes node-gyp generate project files for ClangCL. While we'd like to enable this, that is currently not the priority so for now enforcing MSVC would be the way to go the way I see it. The changes in create-config-gypi.js would be done as a PR in node-gyp and then floated in Node.js until the next node-gyp update.

Tagging relative teams: @nodejs/platform-windows @nodejs/node-gyp

P.S. Since it's already reviewed, I'll request fast-tracking and I'm planning to land it after the first approval.

Refs: nodejs/node-gyp#3098
Refs: #55784

This change cherry-picks a small change from node-gyp needed for
running native tests on ClangCL compiled binaries.

Refs: nodejs/node-gyp#3098
@StefanStojanovic StefanStojanovic added windows Issues and PRs related to the Windows platform. build Issues and PRs related to build files or the CI. fast-track PRs that do not need to wait for 48 hours to land. labels Nov 29, 2024
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/security-wg

Copy link
Contributor

Fast-track has been requested by @StefanStojanovic. Please 👍 to approve.

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. npm Issues and PRs related to the npm client dependency or the npm registry. labels Nov 29, 2024
@StefanStojanovic StefanStojanovic added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 29, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 29, 2024
@nodejs-github-bot
Copy link
Collaborator

@legendecas
Copy link
Member

Let's release nodejs/node-gyp#3050 as well!

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. fast-track PRs that do not need to wait for 48 hours to land. needs-ci PRs that need a full CI run. npm Issues and PRs related to the npm client dependency or the npm registry. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants