macOS
brew install llvm@22local Homebrew formula metadata
sudo port install llvm-22MacPorts ports tree · lang/llvm-22/Portfile · 来源: api.github.com
安装
brew install llvm@22local Homebrew formula metadata
sudo port install llvm-22MacPorts ports tree · lang/llvm-22/Portfile · 来源: api.github.com
nix profile install nixpkgs#llvm_22nixpkgs package indexes · llvm_22 · 来源: raw.githubusercontent.com
sudo apk add llvm22Alpine Linux edge package indexes · llvm22 · 来源: dl-cdn.alpinelinux.org
sudo zypper install llvm22openSUSE Tumbleweed package metadata · llvm22 · 来源: download.opensuse.org
sudo dnf install llvmFedora Rawhide package metadata · llvm · 来源: dl.fedoraproject.org
sudo pacman -S llvmArch Linux sync databases · llvm · 来源: geo.mirror.pkgbuild.com
choco install llvmChocolatey community package catalog · llvm · 来源: community.chocolatey.org
scoop install main/llvmScoop official bucket manifest trees · bucket/llvm.json · 来源: api.github.com
winget install --id LLVM.LLVM -eWindows Package Manager source index · LLVM.LLVM · 来源: cdn.winget.microsoft.com
概览
Next-gen compiler infrastructure
历史
LLVM 22 is a versioned distribution of the LLVM compiler and toolchain ecosystem. It packages LLVM libraries together with Clang, MLIR, binary utilities, analysis tools, language-server tooling, and numerous target-independent development utilities.
LLVM began as a University of Illinois research project aimed at an SSA-based compilation strategy supporting both static and dynamic compilation. It evolved into a collection of reusable compiler and toolchain technologies rather than a traditional virtual machine.
The project expanded into an umbrella for LLVM Core, Clang, LLD, libc++, MLIR, and other subprojects. The formerly separate repositories were consolidated into the unified llvm-project Git repository, simplifying coordinated development and release management.
LLVM grew from an academic compiler-research project into an umbrella project used by commercial products, open-source systems, and research projects. Clang's adoption as a production C-family compiler and LLVM's reusable optimizer and code-generation libraries established the ecosystem as a major alternative to traditional monolithic compiler suites.
Distribution packages and versioned formulas let developers install LLVM alongside system compilers without replacing them. The llvm@22 formula serves users who need the LLVM 22 toolchain generation after the unversioned formula advances.
Developers use the package to compile C and C++ with Clang, transform or inspect LLVM IR, generate machine code, analyze source, format code, provide clangd editor integration, inspect binaries, gather coverage, and build compiler-related projects.
Because Homebrew's LLVM is installed separately from Apple's system toolchain, builds commonly select it explicitly through PATH, CC/CXX, or CMake compiler settings. Individual llvm-* commands are also useful independently of Clang.
LLVM is unusually rich package-manager territory: a single installation supplies compilers, optimizers, assemblers, binary utilities, debuggability tools, language servers, static-analysis tools, coverage tools, and MLIR utilities. Versioned packages matter because compiler behavior, supported targets, ABI expectations, and build-system compatibility can change between major releases.
LLVM also underpins many adjacent language runtimes and developer tools. Package maintainers routinely use its individual utilities as drop-in or cross-platform alternatives to GNU and platform-specific tools.
安全态势
没有找到 llvm@22 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
| 没有可执行文件数据。 | |||
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/llvm/llvm-project
安装元数据
| 软件包键 | brew:llvm@22 |
|---|---|
| 版本 | 22.1.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/llvm@22 |
| 主页 | https://llvm.org/ |
| 仓库 | https://github.com/llvm/llvm-project |
| 上游文档 | https://llvm.org/ |
| 许可证 | Apache-2.0 WITH LLVM-exception |
| 源码归档 | https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz |
| 最后更新 | 2026-09-11T07:34:05Z |
| Pulse | updated |
| 依赖 | zstd |
| 构建依赖 | cmake, ninja, python@3.14 |
| macOS 提供的库 | libedit, libffi |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | CLANG_CONFIG_FILE_SYSTEM_DIR: $HOMEBREW_PREFIX/etc/clang CLANG_CONFIG_FILE_USER_DIR: ~/.config/clang LLD is now provided in a separate formula: brew install lld@22 Using `clang`, `clang++`, etc., requires a CLT installation at `/Library/Developer/CommandLineTools`. If you don't want to install the CLT, you can write appropriate configuration files pointing to your SDK at ~/.config/clang. To use the bundled libunwind please use the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@22/lib/unwind -lunwind" To use the bundled libc++ please use the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@22/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@22/lib/unwind -lunwind" Features newer than system libc++ will require the following define to enable: CPPFLAGS="-D_LIBCPP_DISABLE_AVAILABILITY" NOTE: You probably want to use the libunwind and libc++ provided by macOS unless you know what you're doing. |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | llvm@22 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
llvm_22
nix profile install nixpkgs#llvm_22llvm-22
sudo port install llvm-22llvm22 22.1.8-r1
Low Level Virtual Machine compiler system, version 22
sudo apk add llvm22llvm22-dev 22.1.8-r1
Low Level Virtual Machine compiler system, version 22 (development files)
sudo apk add llvm22-devllvm22-gtest 22.1.8-r1
LLVM 22 gtest static libraries
sudo apk add llvm22-gtestllvm22-libs 22.1.8-r1
LLVM 22 runtime library
sudo apk add llvm22-libsllvm22-linker-tools 22.1.8-r1
Low Level Virtual Machine compiler system, version 22 (linker plugins)
sudo apk add llvm22-linker-toolsllvm22-static 22.1.8-r1
LLVM 22 static libraries
sudo apk add llvm22-staticllvm22-test-utils 22.1.8-r1
LLVM 22 utilities for executing LLVM and Clang style test suites
sudo apk add llvm22-test-utilsllvm22-test-utils-pyc 22.1.8-r1
Precompiled Python bytecode for llvm22-test-utils
sudo apk add llvm22-test-utils-pycclang-tools 22.1.8-2.1
Tools for Clang
https://clang-analyzer.llvm.org/
sudo zypper install clang-toolsclang22 22.1.8-2.1
CLANG frontend for LLVM
sudo zypper install clang22clang22-devel 22.1.8-2.1
CLANG frontend for LLVM (devel package)
sudo zypper install clang22-develclang22-doc 22.1.8-2.1
Documentation for Clang
sudo zypper install clang22-doclibLLVM22 22.1.8-2.1
Libraries for LLVM
sudo zypper install libLLVM22libLLVM22-32bit 22.1.8-2.1
Libraries for LLVM
sudo zypper install libLLVM22-32bit来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.