Skip to content

Conversation

@elezar
Copy link
Member

@elezar elezar commented Oct 1, 2024

This change aligns the creation of symlinks under CDI with the implementation in libnvidia-container. If the driver libraries are present, the following symlinks are created:

  • {{ .LibRoot }}/libcuda.so -> libcuda.so.1
  • {{ .LibRoot }}/libnvidia-opticalflow.so -> libnvidia-opticalflow.so.1
  • {{ .LibRoot }}/libGLX_indirect.so.0 -> libGLX_nvidia.so.{{ .Version }}

This backports #715

This change aligns the creation of symlinks under CDI with
the implementation in libnvidia-container. If the driver libraries
are present, the following symlinks are created:

* {{ .LibRoot }}/libcuda.so -> libcuda.so.1
* {{ .LibRoot }}/libnvidia-opticalflow.so -> libnvidia-opticalflow.so.1
* {{ .LibRoot }}/libGLX_indirect.so.0 -> libGLX_nvidia.so.{{ .Version }}

Signed-off-by: Evan Lezar <[email protected]>
@elezar elezar requested review from cdesiniotis and klueska October 1, 2024 16:19
@elezar elezar self-assigned this Oct 1, 2024
@elezar elezar added the backport label Oct 1, 2024
@elezar elezar merged commit bae9c29 into NVIDIA:release-1.16 Oct 10, 2024
8 checks passed
@elezar elezar deleted the add-libcuda-so-symlink branch October 10, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants