newmight2015 / xpmminer-1

forked xpmminer with build fix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##From Ethos (for card not well supported by AMDGPU-PRO)

install required packages

sudo apt install automake m4 libtool  protobuf-compiler  libprotobuf-dev libgmp-dev  libboost-all-dev

build dependencies

git clone https://github.com/jedisct1/libsodium.git
cd libsodium
./autogen.sh
./configure && make check
sudo make install
sudo ldconfig
cd ..
git clone git://github.com/zeromq/libzmq.git
cd libzmq
./autogen.sh
./configure && make check
sudo make install
sudo ldconfig
cd ..
git clone git://github.com/zeromq/czmq.git
cd czmq
./autogen.sh
./configure && make check
sudo make install
sudo ldconfig
cd ..

BUILD

git clone https://github.com/ang-st/xpmminer
cd xpmminer
mkdir build
cd build 
cmake .. && make
cd ..

##From Ubuntu 16.04 Desktop

install AMDGPU-PRO

tar -Jxvf amdgpu-pro_16.30.3-315407.tar.xz
amdgpu-pro-driver/amdgpu-pro-install
sudo usermod -a -G video $LOGNAME 

install dependencies

apt-get install libprotobuf-dev/xenial libczmq-dev/xenial libgmp-dev cmake
apt-get install protobuf-compiler
apt-get install libboost-all-dev
apt install libsodium-dev

BUILD

git clone https://github.com/ang-st/xpmminer
cd xpmminer
mkdir build
cd build 
cmake .. -DOPENCL_LIBRARY=/usr/lib/x86_64-linux-gnu/amdgpu-pro/libOpenCL.so -DOPENCL_INCLUDE_DIRECTORY=/usr/src/amdgpu-pro-16.30.3-315407/amd/ 
make 
cd ..

create a config file

cat >>config.txt<<EOF
server = "coinsforall.io";
port = "6668";
#foo
name = "zooor";
address = "ztj7tziwZZbatY3krirjvDcw4cEQH8iUJrh5wHdx7iEsZHDm2G91FATpmytG6aFCt83aKtFtS4MeMCN9FUKytbNYo2aJShp";
platform = "amd";
EOF
#run
./build/zcashgpuminer

Have fun :)

About

forked xpmminer with build fix


Languages

Language:C++ 80.2%Language:C 19.1%Language:Makefile 0.4%Language:CMake 0.2%Language:Assembly 0.0%Language:Shell 0.0%