Skip to content
Snippets Groups Projects
Commit a839a1e8 authored by Kevin Mittman's avatar Kevin Mittman
Browse files

Update README for shell-parse script

parent 7f63e60c
No related branches found
No related tags found
No related merge requests found
......@@ -11,14 +11,14 @@ Examples for importing precompiled binary `tarball` and `zip` archives into vari
## Redistrib JSON
Sample script for parsing `redistrib_${label}.json` manifests ([JSON schema](https://developer.download.nvidia.com/compute/redist/redistrib-v2.schema.json)).
Sample scripts for parsing `redistrib_${label}.json` manifests ([JSON schema](https://developer.download.nvidia.com/compute/redist/redistrib-v2.schema.json)).
- Downloads each archive
- Validates SHA256 checksums
- Extracts archives
- Flattens into a collapsed directory structure
### Usage
### Python Usage
```shell
usage: parse_redist.py (-u URL | [-l LABEL] [-p PRODUCT]) [-o OUTPUT]
......@@ -28,7 +28,7 @@ usage: parse_redist.py (-u URL | [-l LABEL] [-p PRODUCT]) [-o OUTPUT]
> note: for this reference script, Python 3.8 or later is required
### Example
#### Example (python)
```shell
python3 ./parse_redist.py --product cuda --label 11.4.2
......@@ -40,6 +40,28 @@ or equivalent
python3 ./parse_redist.py --url https://developer.download.nvidia.com/compute/cuda/redist/redistrib_11.4.2.json
```
### BASH Usage
```shell
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
./shell-parse.sh --product=cuda --label=12.8.0
```
or equivalent
```shell
./shell-parse.sh --product=cuda --latest
```
## CMake
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment