Version 2.2.3 is out https://github.com/tpruvot/ccminer/releases/tag/2.2.3-tpruvot
Search Criteria
Package Details: ccminer 2.3.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ccminer.git (read-only, click to copy) |
---|---|
Package Base: | ccminer |
Description: | Coin miner using CUDA for nVidia GPUs. |
Upstream URL: | http://ccminer.org/ |
Licenses: | GPL3 |
Submitter: | MarcinWieczorek |
Maintainer: | MarcinWieczorek |
Last Packager: | MarcinWieczorek |
Votes: | 12 |
Popularity: | 0.000000 |
First Submitted: | 2016-06-02 16:58 (UTC) |
Last Updated: | 2019-01-31 09:53 (UTC) |
Dependencies (5)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- jansson (jansson-gitAUR)
- nvidia-utils (nvidia-410xx-utilsAUR, nvidia-340xx-utilsAUR, nvidia-440xx-utilsAUR, nvidia-430xx-utilsAUR, nvidia-vulkan-utilsAUR, nvidia-390xx-utilsAUR, nvidia-utils-teslaAUR, nvidia-535xx-utilsAUR, nvidia-525xx-utilsAUR, nvidia-510xx-utilsAUR, nvidia-550xx-utilsAUR, nvidia-utils-betaAUR, nvidia-470xx-utilsAUR)
- openssl-1.0AUR
Required by (0)
Sources (1)
tjquillan commented on 2017-12-21 05:43 (UTC)
Araeos commented on 2017-12-19 12:38 (UTC)
For those with the missing file error: <device_functions_decls.h></device_functions_decls.h>
This is fixed upstream with commit: https://github.com/tpruvot/ccminer/commit/d0a6cb78d3602a913481ace3e012ecfe91ca08b7#diff-86c8bb5acc3669e8918584d30e3c5d83
and ccminer-git includes this fix.
Ape commented on 2017-11-23 06:33 (UTC) (edited on 2017-11-23 06:39 (UTC) by Ape)
I'm getting this build error:
```
nvcc fatal : Unsupported gpu architecture 'compute_20'
make[2]: *** [Makefile:2672: scrypt/salsa_kernel.o] Error 1
```
EDIT: ccminer-git doesn't have this issue.
yoburtu commented on 2017-09-30 21:26 (UTC)
Hi,
I can’t compile ccminer.
/usr/bin/ld: cannot find -lcuda
I am cuda package installed.
How can I solve this?.
Best regards.
russ0r commented on 2017-08-27 14:58 (UTC)
Thanks Pyrepenol. If, like me, you're only running old cards and nothing newer than a GTX 4xx or GTX5xx then put this on the second line of the build() section (after cd "${srcdir}... etc.):
sed -i 's/#nvcc_ARCH += -gencode=arch=compute_20/nvcc_ARCH = -gencode=arch=compute_20/' Makefile.am
sed -i 's/nvcc_ARCH += -gencode=arch=compute_52/#nvcc_ARCH += -gencode=arch=compute_52/' Makefile.am
sed -i 's/nvcc_ARCH = -gencode=arch=compute_50/#nvcc_ARCH += -gencode=arch=compute_50/' Makefile.am
Pyrepenol commented on 2017-06-17 17:17 (UTC) (edited on 2017-06-17 17:54 (UTC) by Pyrepenol)
If you're having trouble getting this to work on an older video card, make sure that the proper flags are set ala https://github.com/tpruvot/ccminer/wiki/Compatibility
for mine I had to add this to the pkgbuild:
sed -i 's/#nvcc_ARCH += -gencode=arch=compute_30/nvcc_ARCH += -gencode=arch=compute_30/' Makefile.am
Citral commented on 2017-06-04 11:09 (UTC)
The following customizepkz rule worked for me:
replace#global#./configure#CPPFLAGS='-I/usr/include/openssl-1.0' LDFLAGS='-L/usr/lib/openssl-1.0 -L/usr/lib' ./configure
qwer1234 commented on 2017-05-23 08:00 (UTC)
Can anybody make working PKGBUILD for ccminer? Thanks.
fysa commented on 2017-05-17 21:38 (UTC)
You have to use GCC-5 with CUDA and link to OpenSSL 1.0.
I am not sure if the pic options are required now with gcc-5 -- I think that's just a symptom of the incompatibility with 6. I was able to compile with these options:
make clean
make distclean
CC=/usr/bin/gcc-5 \
CXX=/usr/bin/g++-5 \
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig \
CFLAGS+=" -I/usr/include/openssl-1.0 -fPIC" \
CPPFLAGS+=" -I/usr/include/openssl-1.0 -fPIC" \
LDFLAGS+=" -L/usr/lib/openssl-1.0 -lssl -fPIC" \
./autogen.sh
CC=/usr/bin/gcc-5 \
CXX=/usr/bin/g++-5 \
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig \
CFLAGS+=" -I/usr/include/openssl-1.0 -fPIC" \
CPPFLAGS+=" -I/usr/include/openssl-1.0 -fPIC" \
LDFLAGS+=" -L/usr/lib/openssl-1.0 -fPIC -lssl" \
./configure --with-cuda=/opt/cuda --disable-shared --with-pic
make
OKyHb commented on 2017-05-01 22:46 (UTC)
I'm getting "undefined reference to SSL_library_init". Does it want openssl-1.0?
Pinned Comments
Pyrepenol commented on 2017-06-17 17:17 (UTC) (edited on 2017-06-17 17:54 (UTC) by Pyrepenol)