go-ethereum icon indicating copy to clipboard operation
go-ethereum copied to clipboard

Darwin ARM64 binary (Apple Silicon)

Open jgresham opened this issue 3 years ago • 2 comments

Rationale

Why should this feature exist? Apple computers primarily use ARM64 based CPUs. Providing an ARM64 build for Mac will allow users to run the binary without installing rosetta. What are the use-cases? My personal use case is for NiceNode (www.nicenode.xyz). Currently, Geth is the only EC binary which does not require extra dependencies to install. I would like to keep support for at least Geth as a binary option for users that do not want Docker installed on their computers and without requiring me to implement installing rosetta in NiceNode.

Implementation

Do you have ideas regarding the implementation of this feature? Go lang supports Darnwin ARM64 for the last 1+ year. Geth issue regarding building geth on darwin arm64 from Issue https://github.com/ethereum/go-ethereum/issues/21978#issuecomment-790473006. So the implementation should be adding another build config. Are you willing to implement this feature? Yes!

jgresham avatar Jul 06 '22 19:07 jgresham

We currently have no build machines recent enough to produce these binaries. We will wait for more options to be available to the us before we tackle this one.

gballet avatar Jul 07 '22 08:07 gballet

@gballet can't we use cross-compilation?

willianpaixao avatar Jul 19 '22 11:07 willianpaixao