Skip to content

Examples for importing precompiled binary tarball and zip archives into various build and packaging systems

License

Notifications You must be signed in to change notification settings

amilonenv/build-system-archive-import-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build-system-archive-import-examples

License Contributing

Overview

Examples for importing precompiled binary tarball and zip archives into various CI/CD build and packaging systems

Redistrib JSON

Sample script for parsing redistrib_${label}.json manifests (JSON schema).

  • Downloads each archive
  • Validates SHA256 checksums
  • Extracts archives
  • Flattens into a collapsed directory structure

Usage

usage: parse_redist.py (-u URL | [-l LABEL] [-p PRODUCT]) [-o OUTPUT]
       option filters: [--component COMPONENT] ([--os OS] [--arch ARCH])
       option toggles: [--no-download] [--no-checksum] [--no-extract] [--no-flatten]

Example

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

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

About

Examples for importing precompiled binary tarball and zip archives into various build and packaging systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 73.6%
  • Makefile 12.2%
  • Starlark 8.7%
  • Shell 3.0%
  • CMake 2.5%