Package Details: gpufetch-git 0.10.r0.gf4a96ce-1

Git Clone URL: https://aur.archlinux.org/gpufetch-git.git (read-only, click to copy)
Package Base: gpufetch-git
Description: Simple yet fancy GPU architecture fetching tool
Upstream URL: https://github.com/Dr-Noob/gpufetch
Licenses: MIT
Conflicts: gpufetch
Provides: gpufetch
Submitter: DrNoob
Maintainer: DrNoob
Last Packager: DrNoob
Votes: 1
Popularity: 0.000004
First Submitted: 2021-08-23 20:12 (UTC)
Last Updated: 2023-01-29 11:34 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

juancri commented on 2022-05-08 08:28 (UTC)

I installed it after installing cuda but the backend was not enabled. I think these cmake parameters are missing:

-DCMAKE_CUDA_COMPILER=/opt/cuda/bin/nvcc
-DCMAKE_CUDA_COMPILER_TOOLKIT_ROOT=/opt/cuda/

yochananmarqos commented on 2022-03-12 16:52 (UTC)

@Sleipnir: helper_cuda.h is part of NVIDIA's cuda-samples. We don't have that packaged anywhere.

Sleipnir commented on 2022-03-11 23:28 (UTC)

There's an error during build:

-- Configuring done
-- Generating done
-- Build files have been written to: /home/josh/.config/trizen/sources/gpufetch-git/src/gpufetch/build
[ 15%] Building CXX object CMakeFiles/cuda_backend.dir/src/cuda/uarch.cpp.o
[ 20%] Building CXX object CMakeFiles/intel_backend.dir/src/intel/uarch.cpp.o
[ 20%] Building CXX object CMakeFiles/cuda_backend.dir/src/cuda/cuda.cpp.o
[ 25%] Building CXX object CMakeFiles/cuda_backend.dir/src/cuda/pci.cpp.o
[ 15%] Building CXX object CMakeFiles/intel_backend.dir/src/intel/intel.cpp.o
[ 30%] Building CXX object CMakeFiles/intel_backend.dir/src/intel/pci.cpp.o
[ 35%] Building CXX object CMakeFiles/intel_backend.dir/src/intel/cpuid.cpp.o
/home/josh/.config/trizen/sources/gpufetch-git/src/gpufetch/src/cuda/cuda.cpp:1:10: fatal error: helper_cuda.h: No such file or directory
    1 | #include <helper_cuda.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/cuda_backend.dir/build.make:76: CMakeFiles/cuda_backend.dir/src/cuda/cuda.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 40%] Building CXX object CMakeFiles/intel_backend.dir/src/intel/udev.cpp.o
/home/josh/.config/trizen/sources/gpufetch-git/src/gpufetch/src/cuda/uarch.cpp:2:10: fatal error: helper_cuda.h: No such file or directory
    2 | #include <helper_cuda.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/cuda_backend.dir/build.make:90: CMakeFiles/cuda_backend.dir/src/cuda/uarch.cpp.o] Error 1
[ 45%] Linking CXX static library libintel_backend.a
make[1]: *** [CMakeFiles/Makefile2:140: CMakeFiles/cuda_backend.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 45%] Built target intel_backend
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
:: Unable to build gpufetch-git - makepkg exited with code: 4

Let me know if you need any more information. This was run on a Lenovo P51 with hybrid proprietary drivers (Intel & NVidia)

<deleted-account> commented on 2021-09-15 23:36 (UTC)

thank you.

DrNoob commented on 2021-09-15 21:22 (UTC)

@yochananmarqos thanks for pointing it out, I didn't know it. I have changed the PKGBUILD and removed make from makedepends.

DrNoob commented on 2021-09-15 21:18 (UTC)

@theduckchannel thanks for the warning, I have just fixed it (gpufetch now uses CMake instead of Make)

<deleted-account> commented on 2021-09-15 20:01 (UTC)

Failed to build:

make: *** No targets specified and no makefile found. Stop. ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'gpufetch-git-0.10.r0.gf4a96ce-1': error: packages failed to build: gpufetch-git-0.10.r0.gf4a96ce-1

yochananmarqos commented on 2021-08-23 21:42 (UTC)

base-devel group packages should not be included in makedepends(), see https://wiki.archlinux.org/title/PKGBUILD#makedepends