llvm@20
20.1.8Next-gen compiler infrastructure
Install
brew install llvm@20Details
Sources
Supported platforms
| Architecture | Platforms | Version | Download |
|---|---|---|---|
| Apple Silicon | Golden Gate | 20.1.8 | FileSHA-256e0e1b62f176f069b0fa03f7bd987a54258924b3160b27f2412ee5f803a0e9781 |
| Apple Silicon | Tahoe | 20.1.8 | FileSHA-256b95ac9e58b54a35797d89b3ac9ec2d56411b47d3942851567a6eb169e5dc9c09 |
| Apple Silicon | Sequoia | 20.1.8 | FileSHA-256f58e2963c383af35064c7aa47790799a0ca0974a471727c7b5f0b278fd4e1247 |
| Apple Silicon | Sonoma | 20.1.8 | FileSHA-2561fefd983fc606f81c1715af4dbecfa8fbe2967196e06bcac6d63baad878c511d |
| Intel | Sonoma | 20.1.8 | FileSHA-25662c1cbffed8c724ef4201147e6bc80830e25456f465b09ec904731256741be09 |
| ARM64 | Linux | 20.1.8 | FileSHA-25673197c8ca4e845ec81c221c8f4138fd12b2b0b307e2b75448a75553cb85e1af1 |
| x86_64 | Linux | 20.1.8 | FileSHA-256e163127510058e535bb522054238cdf928f676b7c83aa1c4a224726e2225a50c |
Dependencies
- zstd
Package data
Caveats
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.
