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.

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

#download & build cruzbit library
cd
go get github.com/cruzbit/cruzbit/client
mkdir -p go/src/github.com/asdvxgxasjab/
cd go/src/github.com/asdvxgxasjab/
git clone https://github.com/asdvxgxasjab/cruzbit.git
cd cruzbit
git checkout opencl
cd opencl
mkdir build
cd build
cmake ..
make
sudo make install

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

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