llvm@12 (deprecated)

Disable date: 2025-07-01

Install command:
brew install llvm@12

Next-gen compiler infrastructure

https://llvm.org/

License: Apache-2.0 WITH LLVM-exception

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

Formula code: llvm@12.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
ventura
monterey
big sur
macOS on
Intel
ventura
monterey
big sur
catalina
Linux x86_64

Current versions:

stable 12.0.1

Other versions:

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

Revision: 1

Keg-only

Depends on when building from source:

cmake 3.31.6 Cross-platform make
python@3.11 3.11.11 Interpreted, interactive, object-oriented programming language
swig 4.3.0 Generate scripting interfaces to C/C++ code

Requires: macOS <= 13 (build)

To use the bundled libc++ please add the following LDFLAGS:
    LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@12/lib -Wl,-rpath,$HOMEBREW_PREFIX/opt/llvm@12/lib"

Analytics:

Installs (30 days)
llvm@12 104
Installs on Request (30 days)
llvm@12 104
Build Errors (30 days)
llvm@12 4
Installs (90 days)
llvm@12 388
Installs on Request (90 days)
llvm@12 388
Installs (365 days)
llvm@12 1,980
llvm@12 --HEAD 1
Installs on Request (365 days)
llvm@12 1,958
llvm@12 --HEAD 1
Fork me on GitHub