Skip to content

Commit

Permalink
docs: add OpenCL to the build instructions
Browse files Browse the repository at this point in the history
After cloning the repository `cargo build` fails if the system does not
have OpenCL installed.

Add comment as such, including Ubuntu command to install OpenCL.
  • Loading branch information
tcharding authored and cryptonemo committed Jun 22, 2020
1 parent fa103a9 commit 72f2aaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Configure to use nightly:

**NOTE:** `rust-fil-proofs` can only be built for and run on 64-bit platforms; building will panic if the target architecture is not 64-bits.

Before building you will need OpenCL to be installed, on Ubuntu this can be achieved with `apt install ocl-icd-opencl-dev`.

```
> cargo build --release --all
```
Expand Down

0 comments on commit 72f2aaf

Please sign in to comment.