Install command:
brew install llvm

Also known as: llvm@12

Next-gen compiler infrastructure


License: Apache-2.0 with LLVM-exception

/api/formula/llvm.json (JSON API)

/api/bottle/llvm.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
64-bit linux
Apple Silicon big sur

Current versions:

stable 12.0.1
head ⚡️ HEAD

Other versions:

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


Depends on:

python@3.9 3.9.7 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

cmake 3.21.3 Cross-platform make
swig 4.0.2 Generate scripting interfaces to C/C++ code
To use the bundled libc++ please add the following LDFLAGS:
    LDFLAGS="-L$(brew --prefix)/opt/llvm/lib -Wl,-rpath,$(brew --prefix)/opt/llvm/lib"


Installs (30 days)
llvm 16,809
llvm --HEAD 42
Installs on Request (30 days)
llvm 11,464
llvm --HEAD 42
Build Errors (30 days)
llvm 196
llvm --HEAD 16
Installs (90 days)
llvm 61,069
llvm --HEAD 107
Installs on Request (90 days)
llvm 41,078
llvm --HEAD 106
Installs (365 days)
llvm 256,135
llvm --HEAD 604
Installs on Request (365 days)
llvm 193,297
llvm --HEAD 583
Fork me on GitHub