llvm@18

Install command:
brew install llvm@18

Next-gen compiler infrastructure

https://llvm.org/

License: Apache-2.0 WITH LLVM-exception

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

Formula code: llvm@18.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sequoia
sonoma
ventura
Intel sonoma
ventura
64-bit linux

Current versions:

stable 18.1.8

Other versions:

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
llvm@13 13.0.1 Next-gen compiler infrastructure
llvm@12 12.0.1 Next-gen compiler infrastructure
llvm@11 11.1.0 Next-gen compiler infrastructure

Keg-only

Depends on:

zstd 1.5.6 Zstandard is a real-time compression algorithm

Depends on when building from source:

cmake 3.31.0 Cross-platform make
ninja 1.12.1 Small build system for use with gyp or CMake
python@3.12 3.12.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:

Installs (30 days)
llvm@18 5,436
llvm@18 --HEAD 3
Installs on Request (30 days)
llvm@18 4,864
llvm@18 --HEAD 3
Build Errors (30 days)
llvm@18 46
Installs (90 days)
llvm@18 43,999
llvm@18 --HEAD 7
Installs on Request (90 days)
llvm@18 10,092
llvm@18 --HEAD 6
Installs (365 days)
llvm@18 44,038
llvm@18 --HEAD 7
Installs on Request (365 days)
llvm@18 10,131
llvm@18 --HEAD 6
Fork me on GitHub