Installation
This section details how to compile and install Boost if you are a storage provider or a client
Boost Version | Lotus Version | Golang Version |
---|---|---|
< v2.0.0 | ||
v2.0.0 | v1.23.x | 1.20.x |
v2.1.0-rc1 | v1.23.x | 1.20.x |
Node 16.x
Linux / Ubuntu
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt install mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y
macOS
brew install node@16
brew install bzr jq pkg-config hwloc coreutils
Depending on your architecture, you will want to export additional environment variables:
export RUSTFLAGS="-C target-cpu=native -g"
export FFI_BUILD_FROM_SOURCE=1
git clone https://github.com/filecoin-project/boost
cd boost
git checkout <stable tag or branch>
make clean build
sudo make install
Please ignore any output or onscreen instruction during the
npm build
unless there is an error.export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib
git clone https://github.com/filecoin-project/boost
cd boost
git checkout <stable tag or branch>
make clean build
sudo make install
Please ignore any output or onscreen instruction during the
npm build
unless there is an error.To build boost for calibnet, please complete the above pre-requisites and build using the following commands.
git clone https://github.com/filecoin-project/boost
cd boost
git checkout <stable tag or branch>
make clean calibnet
Last modified 24d ago