-
Notifications
You must be signed in to change notification settings - Fork 691
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 guardiand on an ARM mac M1 machine #4031
Comments
The guardian software is only supported on Linux. You may find developing with https://code.visualstudio.com/docs/devcontainers/containers to be useful on other operating systems. Some contributors use WSL on Windows, but as mentioned elsewhere there are several other ecosystem features not supported on ARM, such as building production cosmwasm contracts (which must be built with amd64). While you can run amd64 code/containers on M-series processors, it is significantly slower. |
it would be nice to be able to build at least development binaries on macs. one of the issues is that the celo bls package version that the guardian depends on is not supported on M1, but they seem to have patched that celo-org/celo-bls-go#22 |
FWIW I use the following flags for running tests locally on an arm64 machine:
Contrast with the flags used for amd64 builds: https://github.com/wormhole-foundation/wormhole/blob/main/node/Makefile#L1C1-L2C76 |
@johnsaigle maybe PR this up to the makefile for like |
Description
guardiand
andwormholed
are both not able to be built on arm64 macbooks.while this is not an urgent issue i wanted to create discussion around it as it does increase dx friction.
in the meantime max gave a workaround here which can be used in a pinch for the guardiand binary
Recommendation
The text was updated successfully, but these errors were encountered: