macOS
brew install llvm@20local Homebrew formula metadata
sudo port install llvm-20MacPorts ports tree · lang/llvm-20/Portfile · 来源: api.github.com
安装
brew install llvm@20local Homebrew formula metadata
sudo port install llvm-20MacPorts ports tree · lang/llvm-20/Portfile · 来源: api.github.com
sudo apk add llvm20Alpine Linux edge package indexes · llvm20 · 来源: dl-cdn.alpinelinux.org
sudo dnf install llvm20Fedora Rawhide package metadata · llvm20 · 来源: dl.fedoraproject.org
sudo pacman -S llvm20Arch Linux sync databases · llvm20 · 来源: geo.mirror.pkgbuild.com
sudo zypper install llvm20openSUSE Tumbleweed package metadata · llvm20 · 来源: download.opensuse.org
nix profile install nixpkgs#llvmnixpkgs package indexes · llvm · 来源: raw.githubusercontent.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 20 is the Homebrew versioned formula for the LLVM 20.x compiler infrastructure series, bundling Clang, LLVM command-line tools, LLD, MLIR utilities, and related developer tooling.
LLVM began as a University of Illinois research project to provide a modern SSA-based compilation strategy for static and dynamic compilation. The project made its 1.0 release in October 2003 and later grew into an umbrella for compiler, debugger, runtime, linker, and analysis subprojects.
The upstream project describes LLVM as a collection of modular and reusable compiler and toolchain technologies rather than a single compiler. Its core libraries provide optimizer and code-generation infrastructure around LLVM IR, while Clang, LLD, LLDB, libc++, compiler-rt, MLIR, OpenMP, and other subprojects build on that base.
LLVM moved from academic compiler infrastructure into mainstream production use across commercial, open source, and research projects. The project highlights external users spanning language implementations, JITs, static analysis tools, linkers, debuggers, and high-performance computing toolchains.
For package managers, LLVM's release train and large set of CLI tools made it a common versioned dependency. Versioned formulae such as llvm@20 let users pin a major compiler stack while newer major releases continue to land.
Package users install LLVM for Clang and clang++, clang-format, clang-tidy, clangd, LLD, llvm-ar, llvm-objdump, llvm-config, opt, llc, FileCheck, MLIR tools, and many other compiler-development utilities. Upstream getting-started documentation centers on cloning llvm-project, configuring with CMake, and selecting enabled subprojects such as clang and lld.
Clang is documented as a C, C++, and Objective-C compiler driver that handles preprocessing, parsing, optimization, code generation, assembly, and linking, while transparently invoking lower-level compiler and linker tools.
LLVM is one of the canonical package-manager stress tests: huge source trees, many binaries, CMake builds, multiple runtime libraries, and a steady major-version cadence. Versioned formulae matter because downstream projects often need a specific Clang/LLVM ABI or tool behavior.
LLVM 20 is a major pinned compiler stack for users who want post-LLVM-19 features without taking the latest upstream major. In packaging terms, it is useful for CI images, language runtimes, and source builds that must align LLVM libraries, clang tools, and llvm-config.
安全态势
没有找到 llvm@20 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
clang-20 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/llvm/llvm-project
安装元数据
| 软件包键 | brew:llvm@20 |
|---|---|
| 版本 | 20.1.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/llvm@20 |
| 主页 | https://llvm.org/ |
| 仓库 | https://github.com/llvm/llvm-project |
| 上游文档 | https://llvm.org/docs |
| 许可证 | Apache-2.0 WITH LLVM-exception |
| 源码归档 | https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/llvm-project-20.1.8.src.tar.xz |
| 最后更新 | 2026-06-25T13:37:49+02:00 |
| 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@20 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@20/lib/unwind -lunwind" To use the bundled libc++ please use the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@20/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@20/lib/unwind -lunwind" 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@20 |
| 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-20
sudo port install llvm-20llvm20 20.1.8-r1
Low Level Virtual Machine compiler system, version 20
sudo apk add llvm20llvm20-dev 20.1.8-r1
Low Level Virtual Machine compiler system, version 20 (development files)
sudo apk add llvm20-devllvm20-gtest 20.1.8-r1
LLVM 20 gtest static libraries
sudo apk add llvm20-gtestllvm20-libs 20.1.8-r1
LLVM 20 runtime library
sudo apk add llvm20-libsllvm20-linker-tools 20.1.8-r1
Low Level Virtual Machine compiler system, version 20 (linker plugins)
sudo apk add llvm20-linker-toolsllvm20-static 20.1.8-r1
LLVM 20 static libraries
sudo apk add llvm20-staticllvm20-test-utils 20.1.8-r1
LLVM 20 utilities for executing LLVM and Clang style test suites
sudo apk add llvm20-test-utilsllvm20-test-utils-pyc 20.1.8-r1
Precompiled Python bytecode for llvm20-test-utils
sudo apk add llvm20-test-utils-pycclang20 20.1.8-9.fc45
A C language family front-end for LLVM
sudo dnf install clang20clang20-analyzer 20.1.8-9.fc45
A source code analysis framework
sudo dnf install clang20-analyzerclang20-devel 20.1.8-9.fc45
Development header files for clang
sudo dnf install clang20-develclang20-libs 20.1.8-9.fc45
Runtime library for clang
sudo dnf install clang20-libsclang20-resource-filesystem 20.1.8-9.fc45
Filesystem package that owns the clang resource directory
sudo dnf install clang20-resource-filesystemclang20-tools-extra 20.1.8-9.fc45
Extra tools for clang
sudo dnf install clang20-tools-extraclang20-tools-extra-devel 20.1.8-9.fc45
Development header files for clang tools
sudo dnf install clang20-tools-extra-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.