Automic VaultAutomic Vault

brew

lit を Homebrew, Nix, zypper でインストール

lit のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install lit

local Homebrew formula metadata

概要

パッケージ概要

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.

タイムライン

  • 2010-09-18: The `lit` package published version 0.1.0 on PyPI.
  • 2024-06-25: PyPI recorded the 18.1.8 release of the standalone `lit` package.
  • 2026: LLVM 23.0.0git documentation described lit as the LLVM Integrated Tester and documented response files, parallel execution, result output, and test-suite infrastructure.

Related projects

  • Related projects include LLVM, Clang, LLD, MLIR, FileCheck, GoogleTest-based LLVM unit tests, and the LLVM test-suite repository.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
litcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版18.1.8
マネージャ更新日2026-06-22
ローカルデータOK
上流not checked
検出された最新未検出

https://llvm.org

  • 情報Release/tag comparison is only available for GitHub repositories.https://llvm.org信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係python@3.14
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelit
Version Scheme0
Revision0
Conflicts With
  • luvit
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

lit

nix profile install nixpkgs#lit
  • normalized package name match
  • 一致条件: Lit
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: lit from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
zypper95%

python311-lit 18.1.8-1.3

A portable tool for executing test suites

http://llvm.org/cmds/lit.html

sudo zypper install python311-lit
  • License: NCSA
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: lit
  • 4 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: Lit
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python311-lit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

python313-lit 18.1.8-1.3

A portable tool for executing test suites

http://llvm.org/cmds/lit.html

sudo zypper install python313-lit
  • License: NCSA
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: lit
  • 4 依存関係
  • 5 提供
  • normalized package name match
  • 一致条件: Lit
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python313-lit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

python314-lit 18.1.8-1.3

A portable tool for executing test suites

http://llvm.org/cmds/lit.html

sudo zypper install python314-lit
  • License: NCSA
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: lit
  • 4 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: Lit
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python314-lit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment