erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.1k stars 1.09k forks source link

Compile with GOAMD64=v2 #11715

Open yperbasis opened 3 weeks ago

yperbasis commented 3 weeks ago

x86-64-v2 is almost universally available nowadays. See https://go.dev/wiki/MinimumRequirements#microarchitecture-support

lystopad commented 1 week ago

Done for AMD64 released artifacts. See -- https://github.com/erigontech/erigon/blob/main/.goreleaser.yml#L27 and other similar configurations for other binaries, os, arch.

yperbasis commented 1 week ago

Done for AMD64 released artifacts. See -- https://github.com/erigontech/erigon/blob/main/.goreleaser.yml#L27 and other similar configurations for other binaries, os, arch.

We should do it by default in make so that all builds, not only releases, have this optimization.