Skip to content

Support using the static libcudart_static for the CUDA plugin. #755

@trivialfis

Description

@trivialfis

The static library can serve as a stub to avoid linking a specific CUDA runtime version, which can help us distribute a more portable binary for the pyhwloc.

For CMake, one can link the CUDA::cudart_static CMake target, and it should figure out the rest, including the -ldl used by this stub library. I'm not sure how to do it for the autotools build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions