-
Notifications
You must be signed in to change notification settings - Fork 25
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
Building on M1/M2 Macs #92
Comments
Currently not, since GitHub action does not support it. |
Do you know if you can build universal binaries for x64/arm64 with cmake-js? I'm not really familiar with it. The leveldown project happily builds universal binaries on GitHub CI but I think they use a different build system. |
Actually, I say that, but the |
Well, first the apple silicon macs are coming to GitHub |
And yes the |
Can you try the current development branch for m1 macs and try |
|
I get:
|
The |
Changing:
to (quotes around "x86_64 arm64")
then gives:
|
I think I am stuck, problem is still, that protoc is built for arm and should run on intel and I am unable to make protobuf stuff multi-arch. |
Some progress, protoc problem is solved. Now, the wrong icu lib is found. |
Cross-compile is working now. If you have by any chance an intel mac you can try the steps from the action and test the arm binary. |
Would it be possible to ship a precompiled binary for arm64 on Mac OS X along with the x64 versions? Installing this module takes a very long time on Apple silicon and requires lots of extra tools to be installed.
It seems github actions do not support Apple M1/M2 processors so some sort of cross compilation step would be necessary?
The text was updated successfully, but these errors were encountered: