Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Add ARM64 Windows tool option #176

Merged
merged 1 commit into from
Apr 22, 2019

Conversation

jkunkee
Copy link
Contributor

@jkunkee jkunkee commented Feb 22, 2019

With support for ARM64 Windows coming soon (nodejs/node#25998), I would like to see the tool that node-gyp recommends at least offer the option to install the ARM64 libraries needed for building native modules.

The initial version of this change takes a simple approach. I'm happy to rework it completely.

Also, this may be a simple change, but I haven't yet tried it.

@felixrieseberg
Copy link
Owner

The approach looks good to me, thanks for the PR! I'd love a bit of assistance for the user though – could we only add this extra parameter if we're actually installing the 2017 tools?

(Nevermind the build failure, the CI currently doesn't correctly work for non-trusted PRs)

Since Node.js is expected to support ARM64 Windows natively soon, this
change adds an option to the module, '--include-arm64-tools', to
install the extra Visual Studio 2017 bits required to build native
modules for it.
@jkunkee
Copy link
Contributor Author

jkunkee commented Feb 22, 2019

How does this look?

Also, as simple as this change is, do you have a convenient rig for testing it? If not, I'll eventually spin up a fresh VM and give it a shot. (I'm the one asking for the change, after all. :)

@felixrieseberg
Copy link
Owner

I do not, for a full end-to-end test I usually just download a modern.ie VM and install it there.

@felixrieseberg
Copy link
Owner

Let's just merge this and hope that it actually work 🙈

@felixrieseberg felixrieseberg merged commit af35e61 into felixrieseberg:master Apr 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants