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.

Signed-off-by: Thomas Parrott <[email protected]>
(cherry picked from commit 4503d12)
(cherry picked from commit 5c9aee8)
  • Loading branch information
tomponline committed Nov 13, 2024
1 parent a786b1e commit 9064bfb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -634,11 +634,12 @@ parts:

nvidia-container:
source: https://github.com/NVIDIA/libnvidia-container
source-commit: d2eb0afe86f0b643e33624ee64f065dd60e952d4 # v1.14.6
# XXX: fails to build if using source-commit and source-depth
#source-depth: 1
source-commit: 4c2494f16573b585788a42e9c7bee76ecd48c73d # v1.16.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.
build-packages:
- bmake
- curl
Expand Down

0 comments on commit 9064bfb

Please sign in to comment.