From 83b567db8648b0a27b08ec503917aee0c96f3a9e Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Tue, 12 Nov 2024 14:28:40 +0000 Subject: [PATCH 1/2] snapcraft: nvidia-container: Enable shallow clone To reduce the size of the git repo clone (~2GB) which is causing failures on riscv64. Signed-off-by: Thomas Parrott (cherry picked from commit 4503d12af52741f3bf73317314de4044925cf9a7) (cherry picked from commit 5c9aee86cb162393daa8a382d8f3ec2826c38425) --- snapcraft.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index b832119c..d0f0f9d5 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -634,10 +634,12 @@ parts: nvidia-container: source: https://github.com/NVIDIA/libnvidia-container + source-commit: 4c2494f16573b585788a42e9c7bee76ecd48c73d # v1.16.1 source-depth: 1 - source-tag: v1.14.6 source-type: git plugin: make + build-environment: + - GIT_TAG: "1.16.1" # Enables source-depth: 1, should match git tag without "v" prefix. build-packages: - bmake - curl From ac2af2b9cda0b837e331e79b5afb185f0a9fec0e Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Tue, 12 Nov 2024 15:59:15 +0000 Subject: [PATCH 2/2] snapcraft: nvidia-container: Bump to v1.17.1 Signed-off-by: Thomas Parrott (cherry picked from commit 5f48503037f5301c5bfc7af92e50dc27b1791f70) --- snapcraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index d0f0f9d5..9f1aa659 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -634,12 +634,12 @@ parts: nvidia-container: source: https://github.com/NVIDIA/libnvidia-container - source-commit: 4c2494f16573b585788a42e9c7bee76ecd48c73d # v1.16.1 + source-commit: 63d366ee3b4183513c310ac557bf31b05b83328f # v1.17.1 source-depth: 1 source-type: git plugin: make build-environment: - - GIT_TAG: "1.16.1" # Enables source-depth: 1, should match git tag without "v" prefix. + - GIT_TAG: "1.17.1" # Enables source-depth: 1, should match git tag without "v" prefix. build-packages: - bmake - curl