macOS
brew install litlocal Homebrew formula metadata
brew
lit のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install litlocal Homebrew formula metadata
nix profile install nixpkgs#litnixpkgs package indexes · lit · ソース: raw.githubusercontent.com
sudo zypper install python311-litopenSUSE Tumbleweed package metadata · python311-lit · ソース: download.opensuse.org
概要
Portable tool for LLVM- and Clang-style test suites
履歴
lit, the LLVM Integrated Tester, is the portable test runner used for LLVM- and Clang-style test suites. It discovers tests, runs them in parallel, summarizes pass and failure results, and drives the small regression tests that are central to LLVM development.
lit developed inside the LLVM project as the project's Python-based test runner. The LLVM documentation describes it as lightweight, portable, and intentionally simple at the command line, while still flexible enough to support different test formats and suite layouts.
As LLVM grew into a family of compiler infrastructure projects, lit became part of the shared contributor workflow. The LLVM Testing Infrastructure Guide documents regression tests under `llvm/test`, `llvm-lit` invocations for individual files and directories, `check-*` build targets, and the use of lit configuration files such as `lit.cfg` and `lit.site.cfg.py`.
lit's adoption is unusually deep for a small Python test tool because it is carried by LLVM, Clang, LLD, MLIR, and downstream compiler projects. The PyPI package made the runner available outside a full LLVM checkout, while distribution packages such as Homebrew's `lit` make it convenient for projects that want LLVM-style tests without building all of LLVM.
The common pattern is to put `RUN:` lines in test files, use FileCheck or project tools to validate output, and run suites through `lit`, `llvm-lit`, or build-system targets like `check-llvm` and `check-all`. lit's configuration files let projects define substitutions, features, test suffixes, environment settings, and custom formats.
lit matters to package maintainers because it is a tiny command whose real importance comes from compiler ecosystems. Packaging it separately lets downstream projects run conformance and regression tests without hauling in an entire LLVM build tree.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
lit | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:lit |
|---|---|
| バージョン | 18.1.8 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/lit |
| ホームページ | https://llvm.org |
| リポジトリ | https://github.com/llvm/llvm-project |
| 上流ドキュメント | https://llvm.org/docs/CommandGuide/lit.html |
| ライセンス | Apache-2.0 WITH LLVM-exception |
| ソースアーカイブ | https://files.pythonhosted.org/packages/47/b4/d7e210971494db7b9a9ac48ff37dfa59a8b14c773f9cf47e6bda58411c0d/lit-18.1.8.tar.gz |
| 最終更新 | 2026-06-22T14:05:11-07:00 |
| Pulse | updated |
| 依存関係 | python@3.14 |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lit |
| Version Scheme | 0 |
| Revision | 0 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
lit
nix profile install nixpkgs#litpython311-lit 18.1.8-1.3
A portable tool for executing test suites
sudo zypper install python311-litpython313-lit 18.1.8-1.3
A portable tool for executing test suites
sudo zypper install python313-litpython314-lit 18.1.8-1.3
A portable tool for executing test suites
sudo zypper install python314-litソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.