# Installer lit avec Homebrew, Nix, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de lit pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:lit
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install lit
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#lit
```

  Preuve: nixpkgs package indexes: lit from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- zypper (92%):

```sh
sudo zypper install python313-lit
```

  Preuve: openSUSE Tumbleweed package metadata: python313-lit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:lit
- **Gestionnaire de paquets:** Homebrew
- **Version:** 18.1.8
- **Résumé source:** Portable tool for LLVM- and Clang-style test suites
- **Page d'accueil:** <https://llvm.org>
- **Dernière mise à jour:** 2026-06-22T14:05:11-07:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- lit (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 18.1.8
## Historique du projet et usages

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.

### Historique du projet

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`.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <https://github.com/llvm/llvm-project>
- <https://llvm.org/docs/CommandGuide/lit.html>
- <https://llvm.org/docs/TestingGuide.html>
- <https://pypi.org/project/lit/>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Nix - lit: normalized package name match | nixpkgs package indexes: lit from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- zypper - python313-lit - 18.1.8-1.4: normalized package name match | openSUSE Tumbleweed package metadata: python313-lit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A portable tool for executing test suites | http://llvm.org/cmds/lit.html
- zypper - python314-lit - 18.1.8-1.4: normalized package name match | openSUSE Tumbleweed package metadata: python314-lit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A portable tool for executing test suites | http://llvm.org/cmds/lit.html


## Combined YAML source

View the package source record on GitHub. [combined/lit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lit.yml)


## Sources

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