Parser for NVIDIA redistributable JSON manifests
Project description
build-system-archive-import-examples
Overview
Examples for importing precompiled binary tarball and zip archives into various CI/CD build and packaging systems
Redistrib JSON
Sample scripts for parsing redistrib_${label}.json manifests (JSON schema).
- Downloads each archive
- Validates SHA256 checksums
- Extracts archives
- Flattens into a collapsed directory structure
Python Usage
usage: parse_redist.py (-u URL | [-l LABEL] [-p PRODUCT] | --channel CHANNEL) [-o OUTPUT] [--list]
option filters: [--component COMPONENT] ([--os OS] [--arch ARCH])
option toggles: [--no-download] [--no-checksum] [--no-extract] [--no-flatten]
note: for this reference script, Python 3.8 or later is required
Example (python)
python3 ./parse_redist.py --product cuda --label 11.4.2
or equivalent
python3 ./parse_redist.py --url https://developer.download.nvidia.com/compute/cuda/redist/redistrib_11.4.2.json
Repo Channels CDN (packages.nvidia.com)
Use --channel to resolve a release from the NVIDIA Repo Channels CDN
(packages.nvidia.com) instead of
developer.download.nvidia.com. --list shows what a product publishes, and
--channel resolves the release through the channel's releases.json,
verifying the content-addressed (CAS) manifest checksum before parsing it. Omit
--label to take the newest version in the channel:
python3 ./parse_redist.py --list --product cuda
python3 ./parse_redist.py --channel preview --product cuda
python3 ./parse_redist.py --channel archive --product cuda --label 13.4.0
BASH Usage
USAGE: ./shell-parse.sh (--url= | [--product=] [--label=]) [--input=] [--output=]
[--component=] [--os=] [--arch=] [--variant=]
[-W] [-S] [-X] [-F] [--list] [--latest] [--help]
note: for this reference script,
jq,curl,wget, etc. are required
Example (bash)
./shell-parse.sh --product=cuda --label=12.8.0
or equivalent
./shell-parse.sh --product=cuda --latest
CMake
FindCUDAToolkit
See example cmake/1_FindCUDAToolkit/
ExternalProject
See example cmake/2_ExternalProject/
Bazel
pkg_tar
See example bazel/1_pkg_tar/
Contributing
See CONTRIBUTING.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nvidia_binarchive-0.7.0-py3-none-any.whl.
File metadata
- Download URL: nvidia_binarchive-0.7.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef891f5ca45046e0ecbd19d8dd118d1941eb17d98eb339e7e897a5f1ec05e206
|
|
| MD5 |
d9b4cbf3f28e78f78141387b58e2ea91
|
|
| BLAKE2b-256 |
69d20299c211028e0f4141e6a45e2201a3717ef8ca729bfdbfd3395ceee23eea
|
Provenance
The following attestation bundles were made for nvidia_binarchive-0.7.0-py3-none-any.whl:
Publisher:
publish.yml on NVIDIA/build-system-archive-import-examples
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nvidia_binarchive-0.7.0-py3-none-any.whl -
Subject digest:
ef891f5ca45046e0ecbd19d8dd118d1941eb17d98eb339e7e897a5f1ec05e206 - Sigstore transparency entry: 2259411654
- Sigstore integration time:
-
Permalink:
NVIDIA/build-system-archive-import-examples@6ce1321daa48f5fa09de72a166011c397e29997b -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/NVIDIA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6ce1321daa48f5fa09de72a166011c397e29997b -
Trigger Event:
push
-
Statement type: