llvm@18

Install command:
brew install llvm@18

Next-gen compiler infrastructure

https://llvm.org/

License: Apache-2.0 WITH LLVM-exception

Development: Pull requests

Formula JSON API: /api/formula/llvm@18.json

Formula code: llvm@18.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 18.1.8

Other versions:

llvm@22 22.1.8 Next-gen compiler infrastructure
llvm@21 21.1.8 Next-gen compiler infrastructure
llvm@20 20.1.8 Next-gen compiler infrastructure
llvm@19 19.1.7 Next-gen compiler infrastructure
llvm@17 17.0.6 Next-gen compiler infrastructure
llvm@16 16.0.6 Next-gen compiler infrastructure
llvm@15 15.0.7 Next-gen compiler infrastructure
llvm@14 14.0.6 Next-gen compiler infrastructure

Keg-only

Depends on:

zstd 1.5.7 Zstandard is a real-time compression algorithm

Depends on when building from source:

cmake 4.4.2 Cross-platform make
ninja 1.13.2 Small build system for use with gyp or CMake
python@3.14 3.14.7 Interpreted, interactive, object-oriented programming language
To use the bundled libc++ please add the following LDFLAGS:
    LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@18/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@18/lib -lunwind"

Analytics:

30 days90 days365 days
Installs3441,45818,813
Installs (--HEAD)1310
Installs on Request2531,15916,999
Installs on Request (--HEAD)1310
Build Errors0