-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Mac arm64 prebuild #766
Comments
The ability to produce prebuilt binaries for M1 (Apple silicon) is blocked by actions/runner-images#2187. Are you able to compile from source? |
We might be able to cross-compile on an intel mac. Help is wanted, I don't own either. |
I'll try to ask someone with the M1 do the |
An easier option is to build "fat binaries" that work on both x64 and arm64. Here's how Tasks:
|
I can help with testing on Intel. |
Testers wanted! On both Intel and M1. If you have such a machine, please run:
|
I can confirm the above steps worked on Apple M1 (updated the package.json to the newly released node-gyp-build 4.3.0). |
On mac, the prebuilt binary (as well as the binary built by `npm i --build-from-source`) is now a universal binary that's suitable for both x86_64 (as before) and arm64 (new). Also sets MACOSX_DEPLOYMENT_TARGET, to 10.7 which is the same target that Node.js 10 uses and thus what we already supported, but now explicitly. Ref #766
On mac, the prebuilt binary (as well as the binary built by `npm i --build-from-source`) is now a universal binary that's suitable for both x86_64 (as before) and arm64 (new). Also sets MACOSX_DEPLOYMENT_TARGET, to 10.7 which is the same target that Node.js 10 uses and thus what we already supported, but now explicitly. Ref Level#766 (cherry picked from commit 26ea717)
I'm not being able to package an electron app for the new mac m1 chip. It says it couldn't find leveldown binaries for that system.
These are the binaries found:
Any help? Thanks :)
The text was updated successfully, but these errors were encountered: