Update README.md
This commit is contained in:
24
README.md
24
README.md
@@ -100,12 +100,28 @@ CryptoNight
|
||||
|
||||
To add the miner:
|
||||
|
||||
`cd /home/m1
|
||||
```
|
||||
cd ~
|
||||
git clone https://github.com/KlausT/ccminer-cryptonight KTccminer-cryptonight
|
||||
cd KTccminer-cryptonight
|
||||
./autoreconf.sh
|
||||
./configure --with-cuda-/usr/local/cuda-8.0
|
||||
make`
|
||||
TAB="$(printf '\t')"
|
||||
cat <<EOF | patch
|
||||
--- Makefile.am 2017-07-26 17:32:02.000000000 -0700
|
||||
+++ Makefile.am 2017-09-21 12:33:54.412247785 -0700
|
||||
@@ -33,7 +33,7 @@
|
||||
ccminer_LDADD${TAB}${TAB}= @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@ @CUDA_LIBS@ @OPENMP_CFLAGS@ @LIBS@
|
||||
ccminer_CPPFLAGS${TAB}= \$(CUDA_CFLAGS) -msse2 @LIBCURL_CPPFLAGS@ @OPENMP_CFLAGS@ \$(PTHREAD_FLAGS) -fno-strict-aliasing \$(JANSSON_INCLUDES) -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME
|
||||
|
||||
-NVCC_GENCODE${TAB}${TAB}= -D_FORCE_INLINES \$(CUDA_CFLAGS) -gencode=arch=compute_20,code=sm_20 -gencode=arch=compute_20,code=sm_21 -gencode=arch=compute_30,code=sm_30 -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61
|
||||
+NVCC_GENCODE${TAB}${TAB}= -D_FORCE_INLINES \$(CUDA_CFLAGS) -gencode=arch=compute_61,code=sm_61
|
||||
|
||||
# we're now targeting all major compute architectures within one binary.
|
||||
.cu.o:
|
||||
EOF
|
||||
./autogen.sh
|
||||
./configure --with-cuda=/usr/local/cuda-8.0
|
||||
make
|
||||
```
|
||||
|
||||
To enable mining, create a new object named "cryptonight" within the "miners"
|
||||
list in mph_conf.json. Here's what I use:
|
||||
|
||||
Reference in New Issue
Block a user