git clone https://github.com/ethereum-mining/ethminer.git
cd ethminer
mkdir build
cd build
cmake ... # apt-get install cmake
cmake .. -DETHASHCUDA=ON -DETHASHCL=OFFCMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake:207 (message):https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=debnetworkmakemake install/usr/local/bin/ethminer