返回 Skill 列表
extension
分类: 开发与工程无需 API Key

Erigon Build

使用make构建Erigon二进制文件。在运行任何erigon命令之前需要编译erigon时使用此方法。

person作者: jakexiaohubgithub

Build Erigon Binary

Build the Erigon binary by running make erigon from the repository root.

Build Command

make erigon

This compiles the Erigon binary and places it at ./build/bin/erigon.

What the Build Does

  • Compiles the main Erigon executable
  • Sets version information from git (commit, branch, tag)
  • Applies appropriate CGO flags for the platform
  • Outputs binary to build/bin/erigon

Prerequisites

  • Go (version specified in go.mod)
  • C compiler (gcc or clang)
  • Make

After Building

The binary will be available at:

./build/bin/erigon

You can verify the build by running:

./build/bin/erigon --version