Merge branch 'update-libnvidia-container' into 'main'

Update libnvidia-container

See merge request nvidia/container-toolkit/container-toolkit!237
This commit is contained in:
Evan Lezar 2022-11-03 13:38:50 +00:00
commit b7ba96a72e
3 changed files with 30 additions and 17 deletions

View File

@ -1,5 +1,13 @@
# NVIDIA Container Toolkit Changelog # NVIDIA Container Toolkit Changelog
## v1.12.0-rc.2
* Inject Direct Rendering Manager (DRM) devices into a container using the NVIDIA Container Runtime
* Improve logging of errors from the NVIDIA Container Runtime
* Improve CDI specification generation to support rootless podman
* Use `nvidia-ctk cdi generate` to generate CDI specifications instead of `nvidia-ctk info generate-cdi`
* [libnvidia-container] Skip creation of existing files when these are already mounted
## v1.12.0-rc.1 ## v1.12.0-rc.1
* Add support for multiple Docker Swarm resources * Add support for multiple Docker Swarm resources

View File

@ -62,20 +62,25 @@ make -C ${NVIDIA_CONTAINER_TOOLKIT_ROOT} \
LIBNVIDIA_CONTAINER_TAG="${LIBNVIDIA_CONTAINER_TAG}" \ LIBNVIDIA_CONTAINER_TAG="${LIBNVIDIA_CONTAINER_TAG}" \
${TARGET} ${TARGET}
# We set the TOOLKIT_VERSION, TOOLKIT_TAG for the nvidia-container-runtime and nvidia-docker targets if [[ -z ${NVIDIA_CONTAINER_TOOLKIT_TAG} ]]; then
# The LIB_TAG is also overridden to match the TOOLKIT_TAG. # We set the TOOLKIT_VERSION, TOOLKIT_TAG for the nvidia-container-runtime and nvidia-docker targets
# Build nvidia-container-runtime # The LIB_TAG is also overridden to match the TOOLKIT_TAG.
make -C ${NVIDIA_CONTAINER_RUNTIME_ROOT} \ # Build nvidia-container-runtime
LIB_VERSION="${NVIDIA_CONTAINER_RUNTIME_VERSION}" \ make -C ${NVIDIA_CONTAINER_RUNTIME_ROOT} \
LIB_TAG="${NVIDIA_CONTAINER_TOOLKIT_TAG}" \ LIB_VERSION="${NVIDIA_CONTAINER_RUNTIME_VERSION}" \
TOOLKIT_VERSION="${NVIDIA_CONTAINER_TOOLKIT_VERSION}" \ LIB_TAG="${NVIDIA_CONTAINER_TOOLKIT_TAG}" \
TOOLKIT_TAG="${NVIDIA_CONTAINER_TOOLKIT_TAG}" \ TOOLKIT_VERSION="${NVIDIA_CONTAINER_TOOLKIT_VERSION}" \
${TARGET} TOOLKIT_TAG="${NVIDIA_CONTAINER_TOOLKIT_TAG}" \
${TARGET}
# Build nvidia-docker2 # Build nvidia-docker2
make -C ${NVIDIA_DOCKER_ROOT} \ make -C ${NVIDIA_DOCKER_ROOT} \
LIB_VERSION="${NVIDIA_DOCKER_VERSION}" \ LIB_VERSION="${NVIDIA_DOCKER_VERSION}" \
LIB_TAG="${NVIDIA_CONTAINER_TOOLKIT_TAG}" \ LIB_TAG="${NVIDIA_CONTAINER_TOOLKIT_TAG}" \
TOOLKIT_VERSION="${NVIDIA_CONTAINER_TOOLKIT_VERSION}" \ TOOLKIT_VERSION="${NVIDIA_CONTAINER_TOOLKIT_VERSION}" \
TOOLKIT_TAG="${NVIDIA_CONTAINER_TOOLKIT_TAG}" \ TOOLKIT_TAG="${NVIDIA_CONTAINER_TOOLKIT_TAG}" \
${TARGET} ${TARGET}
else
echo "Skipping nvidia-container-runtime and nvidia-docker builds for release candidate"
fi

@ -1 +1 @@
Subproject commit 90bc7a540add5857fcd30c1f4f3bede9b5b06f43 Subproject commit 505dedfee84b6d8ac671c8ca4063a7c205a92237