Search Criteria
Package Details: ethminer-cuda 0.19.0-8
Package Actions
Git Clone URL: | https://aur.archlinux.org/ethminer-cuda.git (read-only, click to copy) |
---|---|
Package Base: | ethminer-cuda |
Description: | Ethereum miner with OpenCL, CUDA and stratum support. |
Upstream URL: | https://github.com/ethereum-mining/ethminer |
Licenses: | GPL3 |
Conflicts: | ethminer, ethminer-git |
Provides: | ethminer |
Submitter: | aimileus |
Maintainer: | mrxx |
Last Packager: | mrxx |
Votes: | 7 |
Popularity: | 0.000092 |
First Submitted: | 2018-02-27 10:41 (UTC) |
Last Updated: | 2022-05-13 10:34 (UTC) |
Dependencies (6)
- cuda (cuda-11.0, cuda11.1)
- mesa (mesa-noglvnd, mesa-minimal+-git, mesa-i915g, mesa-d3d12, mesa-steamos, mesa-minimal-git, mesa-git, mesa-rusticl-git, mesa-amber)
- npth (npth-git)
- cmake (cmake-git) (make)
- git (git-git, git-vfs, git-run-command-patch-git) (make)
- python (python38, python36, python37, python39, python3.7, nogil-python, python311) (make)
Latest Comments
mrxx commented on 2022-05-13 10:36 (UTC)
@Nep_Nep: cuda wasn't compatible with gcc11 for some time (seee comments below), now it is. I've removed the build dependency.
Nep_Nep commented on 2022-05-08 23:45 (UTC)
Is there a specific reason for using gcc10 for this?
mrxx commented on 2022-01-19 23:53 (UTC)
Thank you, vanja_z. Dependency pth changed to npth.
vanja_z commented on 2022-01-15 18:23 (UTC)
It seems pth has disappeared from the Arch repo. There is a package called npth (new pth) which seems to work in its place, at least it is working on my system. If this is the correct course of action can we change the dependency in this package?
vfbsilva commented on 2021-12-04 06:07 (UTC)
It failed to build for me: Building NVCC (Device) object libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/type_traits(1396): error: type name is not allowed
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/type_traits(1396): error: type name is not allowed
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/type_traits(1396): error: identifier "__is_same_as" is undefined
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long, std::is_same<int, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long, _Ret=int, _CharT=char, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6557): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long, std::is_same<long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long, _Ret=long, _CharT=char, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6562): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const unsigned long, std::is_same<unsigned long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=unsigned long, _Ret=unsigned long, _CharT=char, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6567): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long long, std::is_same<long long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long long, _Ret=long long, _CharT=char, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6572): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const unsigned long long, std::is_same<unsigned long long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=unsigned long long, _Ret=unsigned long long, _CharT=char, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6577): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const float, std::is_same<float, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=float, _Ret=float, _CharT=char, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6583): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const double, std::is_same<double, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=double, _Ret=double, _CharT=char, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6587): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long double, std::is_same<long double, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long double, _Ret=long double, _CharT=char, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6591): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long, std::is_same<int, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long, _Ret=int, _CharT=wchar_t, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6688): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long, std::is_same<long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long, _Ret=long, _CharT=wchar_t, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6693): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const unsigned long, std::is_same<unsigned long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=unsigned long, _Ret=unsigned long, _CharT=wchar_t, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6698): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long long, std::is_same<long long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long long, _Ret=long long, _CharT=wchar_t, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6703): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const unsigned long long, std::is_same<unsigned long long, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=unsigned long long, _Ret=unsigned long long, _CharT=wchar_t, _Base=<int>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6708): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const float, std::is_same<float, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=float, _Ret=float, _CharT=wchar_t, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6714): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const double, std::is_same<double, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=double, _Ret=double, _CharT=wchar_t, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6718): here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/ext/string_conversions.h(85): error: no instance of overloaded function "_Range_chk::_S_chk" matches the argument list argument types are: (const long double, std::is_same<long double, int>) detected during instantiation of "_Ret __gnu_cxx::__stoa(_TRet ()(const _CharT , _CharT , _Base...), const char , const _CharT , std::size_t *, _Base...) [with _TRet=long double, _Ret=long double, _CharT=wchar_t, _Base=<>]" /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/c++/bits/basic_string.h(6722): here
19 errors detected in the compilation of "/home/vfbsilva/.cache/yay/ethminer-cuda/src/ethminer/libethash-cuda/ethash_cuda_miner_kernel.cu". CMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.Release.cmake:280 (message): Error generating file /home/vfbsilva/.cache/yay/ethminer-cuda/src/ethminer/build/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o
make[2]: [libethash-cuda/CMakeFiles/ethash-cuda.dir/build.make:77: libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o] Erro 1 make[1]: [CMakeFiles/Makefile2:455: libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Erro 2 make: *** [Makefile:156: all] Erro 2 ==> ERRO: Uma falha ocorreu em build(). Abortando... -> erro ao construir: ethminer-cuda
mrxx commented on 2021-11-20 19:06 (UTC)
Thank you both. I've added the build dep.
cbarrick commented on 2021-11-20 18:43 (UTC)
@mrxx The current gcc package in core is gcc-11. The PKGBUILD explicitly uses gcc-10.
mrxx commented on 2021-11-20 18:04 (UTC) (edited on 2021-11-20 18:05 (UTC) by mrxx)
@gchamon: gcc is not needed as a dependency as it is a member of 'base-devel' which is a prerequisite for building AUR packages.
gchamon commented on 2021-11-20 12:31 (UTC) (edited on 2021-11-20 12:31 (UTC) by gchamon)
A clean arch install won't have gcc-10 and g++-10 installed, maybe add gcc10 as a build dependency
mrxx commented on 2021-06-12 22:17 (UTC)
Thanks, jaantoots, I've added the option.
jaantoots commented on 2021-06-08 10:08 (UTC)
Git errors with
Committer identity unknown
during build. Setting these manually is not feasible when building withmakechrootpkg
in a clean chroot.This can be fixed by adding the
--no-commit
option togit cherry-pick
.mrxx commented on 2021-05-23 23:43 (UTC)
Thank you, vanja_z. Fixed as suggested.
vanja_z commented on 2021-05-23 17:15 (UTC) (edited on 2021-05-24 04:00 (UTC) by vanja_z)
@Nyan13 I actually found I have the exact same issue if I try using RUA to build the package. Contrary to my previous comment, it is not enough to only configure git. Your gitconfig will not make it to RUA's "jail". I think the easiest way to move forward is just to build ethminer manually. I did get RUA to work by forcing it to pick up the gitconfig. Create the file ~/.config/rua/wrap_args.d/git.sh
Make sure it has 755 permissions.
vanja_z commented on 2021-05-23 16:45 (UTC) (edited on 2021-05-23 16:46 (UTC) by vanja_z)
@Nyan13, seems like a git related error. Try setting up a gitconfig with the following as a bare minimum
Nyan13 commented on 2021-05-20 08:48 (UTC)
I cannot build it. I get:
Committer identity unknown fatal: Failed to autodetect email address (received "test@test-pc. (none)")
Last versions have no such problems.
vanja_z commented on 2021-05-20 07:52 (UTC) (edited on 2021-05-20 07:55 (UTC) by vanja_z)
Sorry if this is the wrong place to submit this but I suggest the following patch to:
Fix gcc 11 bug.
Enable sm_80 and sm_86 (A100, DGX-A100, Tesla GA10x, RTX3080/3090, RTXA6000, RTXA40, etc.).
Use a git commit instead of sed to fix sm_30 deprecation issue.
I've tested this and it's working on my end.
vanja_z commented on 2021-05-20 06:43 (UTC) (edited on 2021-05-20 06:43 (UTC) by vanja_z)
As Svenstaro said, the package doesn't work as is. The way I fixed it was changing the CXX and CC variables in the PKGBUILD,
Svenstaro commented on 2021-05-18 21:51 (UTC)
You need to define gcc-10 and g++-10 as the host compilers now with the new cuda package as cuda isn't compatible with gcc 11 yet.
sffred commented on 2021-05-17 13:29 (UTC) (edited on 2021-05-17 13:31 (UTC) by sffred)
Encountering errors
mrxx commented on 2021-05-16 17:40 (UTC)
Thanks, nbryskin. Patch applied.
nbryskin commented on 2021-05-11 16:13 (UTC) (edited on 2021-05-11 16:14 (UTC) by nbryskin)
Latest fixes
mrxx commented on 2020-11-26 01:55 (UTC)
Thanks, Hendrikto. Fixed.
Hendrikto commented on 2020-11-25 21:47 (UTC)
I got the error:
This can be fixed by using
CC=gcc
.mrxx commented on 2020-09-05 21:42 (UTC)
Thanks, jaantoots, PKGBUILD updated and CC and CXX set to use gcc-9.
I think there is no need to add gcc to makedepends as it is already pulled in as a dependency of cuda.
jaantoots commented on 2020-09-04 20:59 (UTC)
Missing gcc8 from makedepends.
And until https://github.com/ethereum-mining/ethminer/issues/2027 has been fixed, need to remove that line to build with CUDA 11.0, e.g.:
vanja_z commented on 2020-06-19 09:15 (UTC)
Thanks!
mrxx commented on 2020-06-09 20:19 (UTC)
vanja_z, thanks for pointing out the typo (which actually existed since the first commit, hadn't to to anything with the latest fix). I've corrected it to 'CXX'.
vanja_z commented on 2020-06-08 15:40 (UTC) (edited on 2020-06-08 15:42 (UTC) by vanja_z)
Hi, the fix doesn't work for me, you should have:
not
mrxx commented on 2019-07-05 15:07 (UTC)
Thank you, semeion. I've fixed the issue for both ethminer-cuda and ethminer.
semeion commented on 2019-06-27 21:26 (UTC)
Tried the version without CUDA and got similar errors.
How to compile this package? Some tip?
semeion commented on 2019-06-27 21:21 (UTC) (edited on 2019-06-27 21:24 (UTC) by semeion)
I am getting that errors, what can i to do?
mrxx commented on 2018-12-04 22:22 (UTC) (edited on 2018-12-04 22:31 (UTC) by mrxx)
If you want to avoid the 1.4GB CUDA, install "ethminer" instead which uses OpenCL to do the job.
mrxx commented on 2018-12-04 22:20 (UTC)
Adopted, updated to v0.16.1.