Skip to content

Conversation

@dennisameling
Copy link
Contributor

@dennisameling dennisameling commented Mar 18, 2020

Closes #391

This PR adds support for NPM's npm_config_arch parameter for cross compilation scenarios, as well as a "workaround" for Windows arm64. Since there's no native arm64 build for Dugite Native, we can benefit from Windows' 32-bit emulation capabilities on arm64.

Similar to #376, but this PR supports the industry-standard npm_config_arch (https://www.electronjs.org/docs/tutorial/using-native-node-modules#using-npm) instead of introducing an environment variable that's only specific to Dugite.

@dennisameling dennisameling changed the title Support NPM cross compilation npm_config_arch Support NPM cross compilation npm_config_arch + Windows arm64 support Mar 29, 2020
@dennisameling
Copy link
Contributor Author

Closing and re-opening PR as Travis status hangs at "in progress" while tests have passed already a while ago

@dennisameling
Copy link
Contributor Author

Travis tests passed but status isn't updated here on GitHub. Already re-opened this PR twice but doesn't help unfortunately. Please let me know if there's anything I can do from my side!

@outofambit outofambit self-requested a review April 3, 2020 16:32
@anaisbetts
Copy link
Contributor

@outofambit Let me know if I can verify anything for this PR in terms of testing, I have an ARM64 Windows machine (and am eagerly awaiting this PR! 💖)

Copy link
Contributor

@outofambit outofambit left a comment

Choose a reason for hiding this comment

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

@dennisameling thank you for your patience! this looks like a good solution. i'm going to think a little more about how to incorporate this in our next release(s), but i expect it will go out sometime in the next week, two max.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support cross compilation

3 participants