Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840140 - dev-util/nvidia-cuda-toolkit add "gds" USE-flag to support GPUDirect Storage
Summary: dev-util/nvidia-cuda-toolkit add "gds" USE-flag to support GPUDirect Storage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL: https://developer.nvidia.com/gpudirec...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-04-22 12:23 UTC by Oleg Korsak
Modified: 2025-02-23 18:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Korsak 2022-04-22 12:23:39 UTC
Nvidia states that they included GPUDirect Storage stuff into cuda toolkit. But I can't find it in installed directory.

Reproducible: Always

Steps to Reproduce:
1. USE="gds" emerge dev-util/nvidia-cuda-toolkit
2.
3.
Actual Results:  
No GDS installed

Expected Results:  
Installs GPUDirect Storage stuff like cuFile, nvidia-fs.ko etc.
Comment 1 Guilherme Amadio gentoo-dev 2022-06-09 09:15:19 UTC
I think this may be something for the nvidia-drivers instead, no?
Comment 2 Reva Denis 2022-12-28 06:30:11 UTC
Maybe https://github.com/NVIDIA/gds-nvidia-fs ?
Comment 3 Larry the Git Cow gentoo-dev 2025-02-23 18:43:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9126c0cf5edb908b8c0067d8df40ce8d94b632b2

commit 9126c0cf5edb908b8c0067d8df40ce8d94b632b2
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2025-02-07 18:39:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-23 18:43:25 +0000

    dev-util/nvidia-cuda-toolkit: add 12.8.0, rework ebuild
    
    Add support for arm64.
    Add support for clang.
    Add checks for DRIVER_PV and GCC_MAX_VER/CLANG_MAX_VER.
    
    Drop Visual Tools to add them as separate packages.
    
    Use makepkg script to unpack the archive. unpacker.eclass doesn't allow to
    exclude files, which we rely on to keep the temp dir size down.
    Use the manifest file from the archive to generate the file list.
    Use move instead of doins. This ensures we do not miss files and permissions as
    older versions did.
    This method also adds the pkgconfig files that were never generated or installed
    prior.
    
    This no longer installs the toolkit to /opt/cuda, but /opt/cuda-${PV} and
    creates a symlink from the old location. Once we removed cuda-config in favour
    of a run-time detection via cuda.eclass, this will allow a slotted install of
    multiple CUDA versions.
    
    Closes: https://bugs.gentoo.org/947042
    Closes: https://bugs.gentoo.org/939906
    Closes: https://bugs.gentoo.org/916976
    Closes: https://bugs.gentoo.org/840140
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40539
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/nvidia-cuda-toolkit/Manifest              |   2 +
 .../nvidia-cuda-toolkit/files/parse_manifest.py    | 223 +++++++++++++
 .../nvidia-cuda-toolkit-12.8.0.ebuild              | 370 +++++++++++++++++++++
 profiles/arch/arm64/package.use.mask               |   4 +
 4 files changed, 599 insertions(+)