v28参数下载

1,克隆分支next

export ALL_PROXY=socks5://127.0.0.1:1080
git config --global http.proxy 'socks5://127.0.0.1:1080'
git clone --branch next https://github.com/filecoin-project/lotus.git
# git show
commit 7e3618851912c19ab249516c326fb30e90f7699e (HEAD -> next, origin/next)
Merge: 5ac8424f 69a472c4
Author: Łukasz Magiera <[email protected]>
Date:   Thu Aug 13 09:55:48 2020 +0200

    Merge pull request #3013 from filecoin-project/frrist/fix-id-map-table

    fix: id_address_map conflicts

2,go升级到1.14.7

# go version
go version go1.14.7 linux/amd64

3,编译

env RUSTFLAGS="-C target-cpu=native -g" FFI_BUILD_FROM_SOURCE=1 make clean all lotus-bench
  • 或者
env RUSTFLAGS="-C target-cpu=native -g" FIL_PROOFS_USE_GPU_COLUMN_BUILDER=1 FIL_PROOFS_USE_GPU_TREE_BUILDER=1 FFI_BUILD_FROM_SOURCE=1 make clean all lotus-bench
make install
lotus fetch-params 32GiB

猜你喜欢

转载自blog.csdn.net/u010953692/article/details/107983552
28