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)

Formula code on GitHub

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

Intel big sur
Apple Silicon big sur

Current versions:

stable 12.0.0
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.4 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

cmake 3.20.1 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 24,893
llvm --HEAD 57
Installs on Request (30 days)
llvm 19,830
llvm --HEAD 57
Build Errors (30 days)
llvm 126
llvm --HEAD 14
Installs (90 days)
llvm 72,640
llvm --HEAD 157
Installs on Request (90 days)
llvm 57,786
llvm --HEAD 152
Installs (365 days)
llvm 227,557
llvm --HEAD 881
Installs on Request (365 days)
llvm 181,104
llvm --HEAD 823
Fork me on GitHub