diff options
author | David Seifert <soap@gentoo.org> | 2024-06-06 14:50:35 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2024-06-06 14:50:35 +0200 |
commit | 3a2932d776ca98201eee4d059163e8bf9959f0b5 (patch) | |
tree | 1580648e5c272a78aef65c241f892fa98d2c39c6 /dev-util/nvidia-cuda-toolkit | |
parent | app-text/foliate: bump to 3.1.1 (diff) | |
download | gentoo-3a2932d776ca98201eee4d059163e8bf9959f0b5.tar.gz gentoo-3a2932d776ca98201eee4d059163e8bf9959f0b5.tar.bz2 gentoo-3a2932d776ca98201eee4d059163e8bf9959f0b5.zip |
dev-util/nvidia-cuda-toolkit: delete gdb files only with USE=debugger
Closes: https://bugs.gentoo.org/933687
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-util/nvidia-cuda-toolkit')
-rw-r--r-- | dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.5.0.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.5.0.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.5.0.ebuild index d5590a3913d6..c8422a8369dc 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.5.0.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.5.0.ebuild @@ -264,7 +264,9 @@ src_install() { rm "${ED}"/${cudadir}/targets/x86_64-linux/lib/lib64 || die # Remove dead gdb plugins - rm "${ED}"/${cudadir}/bin/cuda-gdb-python3.{8,9}-tui || die + if use debugger; then + rm "${ED}"/${cudadir}/bin/cuda-gdb-python3.{8,9}-tui || die + fi newenvd - 99cuda <<-EOF PATH=${ecudadir}/bin${pathextradirs} |