This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Remove Apple Silicon Electron prebuild - #340
Merged
Merged
Conversation
1 task
shiftkey
approved these changes
Dec 11, 2020
|
Are there any plans to release a version that includes this change? |
Contributor
|
@BelinChung |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #339
The generated rebuild for arm64 has the wrong architecture.
x86_64andia32(converted intoi386for Xcode) work as expected, but when specifyingarm64node-gyp doesn't seem to pass it on to the compiler and it just falls back tox86_64without any warning or error. See below:Prebuild does its job correctly:
prebuild verb architecture arm64but then further down in the logc++ -bundle -undefined dynamic_lookup -Wl,-no_pie -Wl,-search_paths_first -mmacosx-version-min=10.7 -arch x86_64(note the x86_64).My apologies for not catching this issue; by (temporarily?) removing the prebuild this should fix the issue on affected devices.
Might be related to nodejs/gyp-next#78 (comment)