Last active
December 24, 2017 19:26
-
-
Save omartrigui/4d5db0c3b44d6559d926fefb18ed8050 to your computer and use it in GitHub Desktop.
Disable CUDA support in nheqminer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/nicehash/nheqminer.git --depth=1 | |
apt-get install libboost-all-dev cmake -y | |
sed -i 's/"USE CUDA_DJEZO" ON/"USE CUDA_DJEZO" OFF/g' nheqminer/CMakeLists.txt | |
cd nheqminer/cpu_xenoncat/asm_linux/ | |
chmod +x fasm | |
sh assemble.sh | |
cd ../../../ | |
# Start : Ubuntu 14 | |
wget https://cmake.org/files/v3.5/cmake-3.5.0-rc1.tar.gz | |
tar xzf cmake-3.5.0-rc1.tar.gz | |
cd cmake-3.5.0-rc1 | |
./configure | |
make | |
make install | |
update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force | |
# End : Ubuntu 14 | |
mkdir build && cd build | |
cmake ../nheqminer | |
make -j $(nproc) | |
./nheqminer -l equihash.usa.nicehash.com:3357 -u BTC_WALLET.WORKER -t 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment