Package Details: ethminer-cuda 0.19.0-8

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.000000
First Submitted: 2018-02-27 10:41 (UTC)
Last Updated: 2022-05-13 10:34 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

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 with makechrootpkg in a clean chroot.

This can be fixed by adding the --no-commit option to git 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

wrap_args+=(--bind-try ~/.gitconfig ~/.gitconfig)

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

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

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.

--- PKGBUILD.orig   2021-05-20 17:47:51.000000000 +1000
+++ PKGBUILD    2021-05-20 17:22:23.777183200 +1000
@@ -22,7 +22,7 @@
   git submodule update --init --recursive

   # fix https://github.com/ethereum-mining/ethminer/issues/2027
-  sed -i '/arch=compute_30/d' libethash-cuda/CMakeLists.txt
+  git cherry-pick dae359dff28f376d4ce7ddfbd651dcd34d6dad8f

   # fix https://github.com/ethereum-mining/ethminer/issues/2290
   git cherry-pick 9ceee532cded1983fe0cf6a5cc3be9b39b409705
@@ -31,10 +31,13 @@
   # fix https://github.com/ethereum-mining/ethminer/pull/2262
   git cherry-pick 6f85e225748029ab8888fec090305f2a7405f046

+  # Enable sm_80 and sm_86
+  git cherry-pick 8f48e43f9232655340badc626863e88cbc960b73
+
   mkdir -p build && cd build

-  export CC=gcc
-  export CXX=g++
+  export CC=gcc-10
+  export CXX=g++-10
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DETHASHCUDA=ON
   cmake --build .
 }

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,

--- PKGBUILD.orig   2021-05-20 16:40:57.000000000 +1000
+++ PKGBUILD    2021-05-20 16:42:37.776956315 +1000
@@ -33,8 +33,8 @@

   mkdir -p build && cd build

-  export CC=gcc
-  export CXX=g++
+  export CC=gcc-10
+  export CXX=g++-10
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DETHASHCUDA=ON
   cmake --build .
 }

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.

yutsing commented on 2021-05-17 13:29 (UTC) (edited on 2021-05-17 13:31 (UTC) by yutsing)

Encountering errors

CMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.Release.cmake:280 (message):
  Error generating file
  /home/fred/.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_gCMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.Release.cmake:280 (message):
  Error generating file
  /home/fred/.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] Error 1
make[1]: *** [CMakeFiles/Makefile2:455: libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: ethminer-cudaenerated_ethash_cuda_miner_kernel.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:455: libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: ethminer-cuda