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

Pass --arch to node-gyp instead of --target-arch #53

Merged
merged 1 commit into from
Sep 24, 2021
Merged

Conversation

vweevers
Copy link
Member

Technically it supports both but --arch is the documented option, that has more logic associated with it, while --target-arch is merely forwarded to gyp.

In addition, handle multi-arch values which on our end dictate the output folder but are not understood by node-gyp.

Ref #52


Before merging, I want to test this on leveldown in combination with prebuild/node-gyp-build#40.

Technically it supports both but --arch is the documented option,
that has more logic associated with it, while --target-arch is
merely forwarded to gyp.

In addition, handle multi-arch values which on our end dictate the
output folder but are not understood by node-gyp.

Ref #52
@vweevers vweevers added the semver-patch Bug fixes that are backward compatible label Aug 29, 2021
@vweevers vweevers merged commit e30146b into master Sep 24, 2021
@vweevers vweevers deleted the node-gyp-arch branch September 24, 2021 14:30
@vweevers
Copy link
Member Author

4.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch Bug fixes that are backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant