pkg.soopen package index

brew / 排名 1986

使用 Homebrew, Nix, zypper 安装 lit

查看 lit 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lit

local Homebrew formula metadata

概览

软件包摘要

Portable tool for LLVM- and Clang-style test suites

命令和别名

  • lit

历史

项目历史与用法

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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lit可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本18.1.8
管理器更新时间2026-06-22
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:lit
版本18.1.8
软件包管理器Homebrew
主页https://llvm.org
最后更新2026-06-22T14:05:11-07:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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%

python313-lit 18.1.8-1.4

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

python314-lit 18.1.8-1.4

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation