Client build with OpenCL support.

For Windows 10 users, please see The AllFather's Windows 10 build instructions.

THIS DOCUMENT IS A DRAFT. The steps provided below have been used to create a working installation on Ubuntu 18.04, however they are not guaranteed to be universal.

Assumes Git, Go, and CUDA Toolkit 10.1 or above are already installed.

#install OpenCL
sudo apt install ocl-icd-* opencl-headers

#download & build cruzbit library
go get
mkdir -p go/src/
cd go/src/
git clone
cd cruzbit
git checkout opencl
cd opencl
mkdir build
cd build
cmake ..
sudo make install

#build cruzbit client
cd ../../client
GO111MODULE=on go install -tags opencl
cp go/src/ go/bin/
cd go/bin

#run (configure as ncecessary)
LD_LIBRARY_PATH=/usr/local/lib ~/go/bin/client -numminers 1 ...