Allow enable-cuda-compat hook to be disabled in CDI spec generation

This change adds support to the nvcdi package to opt out of specific hooks.

Currently only the `enable-cuda-compat` hook is supported. This allows clients to
generate a CDI spec that is compatible with older nvidia-cdi-hook CLIs.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar
2025-03-07 14:15:31 +02:00
parent ef0b16bc24
commit f852043078
8 changed files with 93 additions and 32 deletions