Skip to main content

LLVM/Clang Toolchain Build Tools - Maintainer scripts for creating and managing LLVM/Clang toolchain binary archives

Project description

clang-tool-chain-bins

clang-tool-chain-bins is the package and CLI for querying and installing the archived LLVM, Clang, MSVC-adjacent, and related tool bundles managed in this repository.

It is designed for machine consumption first:

  • per-archive JSON indexes for every *.tar.zst
  • aggregate tool index for exact and glob lookup
  • JSON Lines query output for scripting and AI agents
  • install resolution with cache tracking and concurrency-safe locking

Install

pip install clang-tool-chain-bins

Query

Exact lookup:

clang-tool-chain-bins query llvm-pdbutil

Glob lookup:

clang-tool-chain-bins query "llvm-*"

Filter by platform, architecture, version, or component family:

clang-tool-chain-bins query "clang*" --platform linux --arch x86_64 --component clang

The CLI emits JSON Lines, one JSON object per input query. Each result object includes:

  • query
  • matches
  • archive URL
  • local cache path
  • install path
  • installed state
  • component, version, platform, arch
  • source archive provenance

Install Tool Archives

Install the archive that contains a tool:

clang-tool-chain-bins install llvm-pdbutil --platform win --arch x86_64

If multiple archives match, narrow the selection with:

  • --platform
  • --arch
  • --version
  • --component

Use --all to install every matching archive.

Index Generation

Generate or refresh sidecar indexes and the aggregate tool index:

clang-tool-chain-bins-index

Publishing

Build and validate release artifacts locally:

clang-tool-chain-bins-publish --skip-upload

Publish to TestPyPI:

clang-tool-chain-bins-publish --testpypi

Publish to PyPI:

clang-tool-chain-bins-publish

By default the publish script reads the token from PYPI_TOKEN.

Repository Scope

This repository still contains maintainer-oriented archive build scripts under tools/. The published package hardens the artifact boundary so wheel and sdist contents are limited to intentional code, metadata, tests, and generated tool index data rather than the raw archive payloads.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clang_tool_chain_bins-0.1.0.tar.gz (129.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clang_tool_chain_bins-0.1.0-py3-none-any.whl (152.1 kB view details)

Uploaded Python 3

File details

Details for the file clang_tool_chain_bins-0.1.0.tar.gz.

File metadata

  • Download URL: clang_tool_chain_bins-0.1.0.tar.gz
  • Upload date:
  • Size: 129.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for clang_tool_chain_bins-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a24e32de9a2fb713ce2ba9fd033115eb3d9308797a72ca20de28f458dbdd0c73
MD5 c0b521e26f3cabf8c9e4158d57221503
BLAKE2b-256 17c5ca30a0bc0f120ebf45c86d3cedd4594b09def1884f3be507aa18ab20d59d

See more details on using hashes here.

File details

Details for the file clang_tool_chain_bins-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for clang_tool_chain_bins-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0fa5c9cdbc5f5eb41f6e4b06e2d9fcc04e015ef64e4f02850e0d413967d4d36
MD5 aefa0d2305593a3184b3d891ead9317a
BLAKE2b-256 2abdd37781bf06f47b32e73a1a34f4925ed407eba53321a7908c6a552531ce07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page