Skip to content

交叉编译

linj edited this page Aug 2, 2021 · 1 revision
# 这个工具在本地运行
make toolimport 

# 设置运行环境, 下面以arm64为例
export GOARCH=arm64
export GOARM=7
make build
# 打包
make pkg
ls assetchain-pkg.tgz