Skip to content

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

Merged
vweevers merged 1 commit intomasterfrom
node-gyp-arch
Sep 24, 2021
Merged

Pass --arch to node-gyp instead of --target-arch#53
vweevers merged 1 commit intomasterfrom
node-gyp-arch

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 requested a review from mafintosh August 29, 2021 10:19
@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