Skip to content

Commit

Permalink
snapcraft: nvidia-container: Enable shallow clone
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 4503d12)
(cherry picked from commit 5c9aee8)
(cherry picked from commit 83b567d)
  • Loading branch information
tomponline committed Nov 13, 2024
1 parent d984a4a commit d43af48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d43af48

Please sign in to comment.