首先装依赖包

yum install centos-release-scl epel-release  
yum install cmake3 devtoolset-4-gcc* hwloc-devel libmicrohttpd-devel openssl-devel make git  

更改编译环境

scl enable devtoolset-4 bash  

下载xmr-stack的源代码并编译

git clone https://github.com/fireice-uk/xmr-stak.git  
mkdir xmr-stak/build  
cd xmr-stak/build  
cmake3 -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF ..  
make  

然后就可以开始了。

comments powered by Disqus