Package Details: cuda_memtest r83.dd723aa-2

Git Clone URL: https://aur.archlinux.org/cuda_memtest.git (read-only, click to copy)
Package Base: cuda_memtest
Description: A GPU memory test utility for NVIDIA and AMD GPUs.
Upstream URL: https://github.com/ComputationalRadiationPhysics/cuda_memtest
Keywords: amd cuda gpu memory memtest nvidia opencl test
Licenses: Illinois Open Source License
Submitter: revel
Maintainer: revel
Last Packager: revel
Votes: 46
Popularity: 0.013914
First Submitted: 2011-06-24 23:18 (UTC)
Last Updated: 2022-08-31 10:19 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

drws commented on 2024-02-18 14:36 (UTC)

@revel: Well, since they learn programming from NVIDIA, one big code blob is probably by design /s

revel commented on 2024-02-11 17:31 (UTC)

@dreieck This package was not meant to track a git repo, I did it out of desperation because the original package was outdated and unmaintained and the fork doesn't bother to make releases. Hopefully this will change.

nvcc is part of cuda package, should work for you.

✗ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Nov__3_17:16:49_PDT_2023
Cuda compilation tools, release 12.3, V12.3.103
Build cuda_12.3.r12.3/compiler.33492891_0
✗ which nvcc
/opt/cuda/bin/nvcc
✗ pacman -Qo /opt/cuda/bin/nvcc
/opt/cuda/bin/nvcc is owned by cuda 12.3.1-2

dreieck commented on 2024-02-08 16:09 (UTC)

Fails to build for me due to missing nvcc (cuda version 12.3.1-2 is installed):

CMake Error at /usr/share/cmake/Modules/Internal/CMakeCUDAFindToolkit.cmake:104 (message):
  Failed to find nvcc.

  Compiler requires the CUDA toolkit.  Please set the CUDAToolkit_ROOT
  variable.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:89 (cmake_cuda_find_toolkit)
  CMakeLists.txt:43 (enable_language)

Maybe another missing makedependency?

Regards!

dreieck commented on 2024-02-08 16:02 (UTC)

You download the latest state from a git repository.

So you must:

  • Rename your package to cuda_memtest-git (i.e. with the -git suffix),
  • add cuda_memtest to the provides and conflicts arrays.

(For renaming, create newly named package and submit a merge request for the old package.)

Regards and thanks for maintaining!

drws commented on 2023-08-03 15:41 (UTC)

@MartinX3: Possibly your AUR helper doesn't install cuda dependency early enough. Try installing it first and then this package. If that's not it, try to install cuda-tools and please report here if that helps.

@revel: There are a few issues with the package:

  1. The package description is somewhat misleading since the OpenCL part (ocl_memtest) is not maintained and possibly even broken.

  2. There's no explanation as to why the patch in prepare() is commented out by default?

  3. Similarly there are two generic lines in package(), intertwined with two OpenCL-related, but it is again not clear why would they be commented out by default?

    install -d "$pkgdir/usr/bin/" install -d "$pkgdir/usr/share/$pkgname/"

  4. As has been mentioned before the standard package name would be cuda_memtest-git given the source versioning.

MartinX3 commented on 2023-07-07 14:31 (UTC)

Sadly it is still broken for me.

==> Beginne build()...
-- The CXX compiler identification is GNU 13.1.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:180 (message):
  Failed to find nvcc.

  Compiler requires the CUDA toolkit.  Please set the CUDAToolkit_ROOT
  variable.
Call Stack (most recent call first):
  CMakeLists.txt:43 (enable_language)

revel commented on 2022-08-31 10:20 (UTC)

Done, thanks @dwheeler

dwheeler commented on 2022-08-30 21:22 (UTC)

Please add git to makedepends. It's now required because of the change in the source URL, but it is not going to be installed for anyone building from CHROOT.

revel commented on 2022-08-23 02:32 (UTC)

I don't really know how to help you, it seems to work just fine over here. https://pastebin.com/tS9VNaqj I fixed url of github repo though.