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:
querymatches- 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
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 Distribution
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a24e32de9a2fb713ce2ba9fd033115eb3d9308797a72ca20de28f458dbdd0c73
|
|
| MD5 |
c0b521e26f3cabf8c9e4158d57221503
|
|
| BLAKE2b-256 |
17c5ca30a0bc0f120ebf45c86d3cedd4594b09def1884f3be507aa18ab20d59d
|
File details
Details for the file clang_tool_chain_bins-0.1.0-py3-none-any.whl.
File metadata
- Download URL: clang_tool_chain_bins-0.1.0-py3-none-any.whl
- Upload date:
- Size: 152.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0fa5c9cdbc5f5eb41f6e4b06e2d9fcc04e015ef64e4f02850e0d413967d4d36
|
|
| MD5 |
aefa0d2305593a3184b3d891ead9317a
|
|
| BLAKE2b-256 |
2abdd37781bf06f47b32e73a1a34f4925ed407eba53321a7908c6a552531ce07
|