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]>
  • Loading branch information
tomponline committed Nov 12, 2024
1 parent be9575c commit 4503d12
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -582,10 +582,11 @@ parts:
- libseccomp
source: https://github.com/NVIDIA/libnvidia-container
source-commit: 4c2494f16573b585788a42e9c7bee76ecd48c73d # v1.16.1
# XXX: fails to build if using source-commit and source-depth
#source-depth: 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 4503d12

Please sign in to comment.