ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.96k stars 2.28k forks source link

How to select version to build #1548

Closed ykhuat closed 6 years ago

ykhuat commented 6 years ago

Hi,

Really sorry for noob question here. I am using Ubuntu 16.04, Cuda 9.1

I successful Build a latest "Pre-release" (ethminer 0.16.0rc1) by following document on web.

Question is:-

If i want to build latest stable release (ethminer 0.15.0),

how was the step to do it..?

TQ very much for help..

Rem559 commented 6 years ago

go to https://github.com/ethereum-mining/ethminer/releases and download there source code or the desired build you need

jean-m-cyr commented 6 years ago

@ykhuat

On a 16.04 system it's pretty straightforward. Just follow the instructions at https://github.com/ethereum-mining/ethminer/blob/master/docs/BUILD.md

Before you do the initial cmake, do

git checkout release/0.15

ykhuat commented 6 years ago

@jean-m-cyr

Thank You very much for help, now I can build stable release follow step below, hope it will help other people as well:-

git clone git@github.com:ethereum-mining/ethminer.git cd ethminer git submodule update --init --recursive git checkout tags/v0.15.0 mkdir build cd build cmake -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-9.1 .. cmake --build . --config release