From d43af482c733543d174679d8b23372e989c9e3f2 Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Tue, 12 Nov 2024 14:28:40 +0000 Subject: [PATCH] snapcraft: nvidia-container: Enable shallow clone To reduce the size of the git repo clone (~2GB) which is causing failures on riscv64. And bump to 1.16.1. Signed-off-by: Thomas Parrott (cherry picked from commit 4503d12af52741f3bf73317314de4044925cf9a7) (cherry picked from commit 5c9aee86cb162393daa8a382d8f3ec2826c38425) (cherry picked from commit 83b567db8648b0a27b08ec503917aee0c96f3a9e) --- snapcraft.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 26ab42ec..e1e97574 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -640,10 +640,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