llvm

Install command:
brew install llvm

Also known as: llvm@16

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:

Intel ventura
monterey
big sur
64-bit linux
Apple Silicon ventura
monterey
big sur

Current versions:

stable 16.0.4
head ⚡️ HEAD

Other versions:

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
llvm@7 7.1.0 Next-gen compiler infrastructure

Keg-only

Depends on:

python@3.11 3.11.3 Interpreted, interactive, object-oriented programming language
six 1.16.0 Python 2 and 3 compatibility utilities
z3 4.12.2 High-performance theorem prover
zstd 1.5.5 Zstandard is a real-time compression algorithm

Depends on when building from source:

cmake 3.26.4 Cross-platform make
swig 4.1.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 33,275
Installs on Request (30 days)
llvm 16,515
Build Errors (30 days)
llvm 541

Analytics (macOS):

Installs (90 days)
llvm 2,961
llvm --HEAD 4
Installs on Request (90 days)
llvm 2,698
llvm --HEAD 4
Installs (365 days)
llvm 420,017
llvm --HEAD 380
Installs on Request (365 days)
llvm 331,691
llvm --HEAD 380

Analytics (Linux):

Installs (90 days)
llvm 71
Installs on Request (90 days)
llvm 42
Installs (365 days)
llvm 39,629
llvm --HEAD 17
Installs on Request (365 days)
llvm 20,033
llvm --HEAD 18
Fork me on GitHub