-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Build a universal binary to support M1 (Apple silicon) #181
Build a universal binary to support M1 (Apple silicon) #181
Conversation
Looks good to me, thanks @Nazgolze! |
Can we make this work for a universal binary as well? See Level/leveldown#781 for comparison - I want to do the same for rocksdb |
remove related architecture check (the #if defined(... covers that)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you! Will release early next week
Note to self: on release, compare prebuild binary size to the previous release |
5.1.1 |
Closes #177
Since this change is around cpu architecture and not OS, I did some testing on Ubuntu ARM64. Interestingly, 5.1.0 here did not have the same issue as on the Mac M1. Nevertheless, I've tested this PR on the M1 Mac and Ubuntu ARM64, have not encountered any errors and, so far, it's working well in our app (though the more eyeballs, the better - if @buu700 is able to give this a try as well 🙏 )