2019-12-04 15:39:41 +00:00
|
|
|
# MacOS Instructions
|
|
|
|
|
|
|
|
> This document is a work in progress.
|
2019-12-01 08:21:20 +00:00
|
|
|
|
2019-12-02 00:08:53 +00:00
|
|
|
Install these dependencies for MacOS Catalina.
|
2019-12-01 08:21:20 +00:00
|
|
|
|
|
|
|
- go (1.13 or higher)
|
|
|
|
- gcc (7.4.0 or higher)
|
|
|
|
- git (version 2 or higher)
|
|
|
|
- bzr (some go dependency needs this)
|
|
|
|
- jq
|
|
|
|
- pkg-config
|
|
|
|
- opencl-icd-loader
|
|
|
|
- opencl driver (like nvidia-opencl on arch) (for GPU acceleration)
|
|
|
|
- opencl-headers (build)
|
|
|
|
- rustup (proofs build)
|
|
|
|
- llvm (proofs build)
|
|
|
|
- clang (proofs build)
|
|
|
|
|
2019-12-02 00:08:53 +00:00
|
|
|
Clone
|
2019-12-01 08:21:20 +00:00
|
|
|
|
|
|
|
```sh
|
|
|
|
$ git clone https://github.com/filecoin-project/lotus.git
|
|
|
|
$ cd lotus/
|
|
|
|
```
|
|
|
|
|
2019-12-02 00:08:53 +00:00
|
|
|
Install
|
2019-12-01 08:21:20 +00:00
|
|
|
|
|
|
|
```sh
|
|
|
|
$ make clean all
|
|
|
|
$ sudo make install
|
|
|
|
```
|
|
|
|
|
|
|
|
Now you can use the command `lotus` in the command line.
|