llvm

Install command:
brew install llvm

Also known as: llvm@18

Next-gen compiler infrastructure

https://llvm.org/

License: Apache-2.0 with LLVM-exception

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

Formula code: llvm.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 18.1.4
head ⚡️ HEAD

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
llvm@9 9.0.1 Next-gen compiler infrastructure
llvm@8 8.0.1 Next-gen compiler infrastructure

Keg-only

Depends on:

python@3.12 3.12.3 Interpreted, interactive, object-oriented programming language
z3 4.13.0 High-performance theorem prover
zstd 1.5.6 Zstandard is a real-time compression algorithm

Depends on when building from source:

cmake 3.29.2 Cross-platform make
ninja 1.12.0 Small build system for use with gyp or CMake
swig 4.2.1 Generate scripting interfaces to C/C++ code
To use the bundled libc++ please add the following LDFLAGS:
    LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm/lib/c++ -Wl,-rpath,$HOMEBREW_PREFIX/opt/llvm/lib/c++"

Analytics:

Installs (30 days)
llvm 42,243
llvm --HEAD 66
Installs on Request (30 days)
llvm 21,180
llvm --HEAD 66
Build Errors (30 days)
llvm 266
llvm --HEAD 31
Installs (90 days)
llvm 128,607
llvm --HEAD 182
Installs on Request (90 days)
llvm 58,616
llvm --HEAD 181
Installs (365 days)
llvm 503,651
llvm --HEAD 684
Installs on Request (365 days)
llvm 307,459
llvm --HEAD 681
Fork me on GitHub