51bps.jpg
配置golang和rust环境
依赖项

apt install make gcc git bzr jq pkg-config mesa-opencl-icd ocl-icd-opencl-dev libhwloc-dev -y

clone:

## 切换到你想要分支或者 tag 版本
git clone https://github.com/filecoin-project/lotus.git 
cd lotus 
git checkout v0.10.2

AMD:

FFI_BUILD_FROM_SOURCE=1 make clean all lotus-bench

旧Intel cpu:

FFI_BUILD_FROM_SOURCE=1 CGO_CFLAGS="-O -D__BLST_PORTABLE__" make clean all lotus-bench

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code