Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: igotek on October 07, 2017, 09:20:25 PM



Title: SGminer linux ?
Post by: igotek on October 07, 2017, 09:20:25 PM
I need sgminer for linux but modified for X11 gost.
I found it for windows but i need for linux.


Title: Re: SGminer linux ?
Post by: Vann on October 07, 2017, 09:47:22 PM
This fork builds fine on Linux

https://github.com/ivansib/sgminer

1. Install AMD APP-SDK

http://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/

2. Install dependencies

sudo apt-get install libcurl4-openssl-dev pkg-config libtool libncurses5-dev

3. Clone the repo and copy the ADL header files to the ADL_SDK folder

git clone https://github.com/ivansib/sgminer

4. Build

cd sgminer
git submodule init
git submodule update
./autogen.sh
./configure CFLAGS="-O2 -Wall -march=native -std=gnu99" CPPFLAGS="-O2 -I/opt/AMDAPPSDK-3.0/include" LDFLAGS="-L/opt/AMDAPPSDK-3.0/lib"
make
strip sgminer

5. Check to see if works and detects your GPU:

./sgminer -n