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 <thomas.parrott@canonical.com>
(cherry picked from commit 4503d12)
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
  • Loading branch information
tomponline committed Nov 13, 2024
1 parent a8ba1ef commit 8d9eb09
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,12 @@ parts:
after:
- libseccomp
source: https://github.com/NVIDIA/libnvidia-container
source-type: git
source-tag: v1.11.0
source-commit: c8f267be0bac1c654d59ad4ea5df907141149977 # 1.11.0
source-depth: 1
source-type: git
plugin: make
build-environment:
- GIT_TAG: "1.11.0" # Enables source-depth: 1, should match git tag without "v" prefix.
build-packages:
- bmake
- curl
Expand Down

0 comments on commit 8d9eb09

Please sign in to comment.