From 72f2aaf8f4841c127931a825aec85147dff7bd9d Mon Sep 17 00:00:00 2001 From: tcharding Date: Tue, 19 May 2020 19:59:48 +1000 Subject: [PATCH] docs: add OpenCL to the build instructions 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. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 29aa3c460..7bc8f7b99 100644 --- a/README.md +++ b/README.md @@ -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 ```