llvm@16

Install command:
brew install llvm@16

Next-gen compiler infrastructure

https://llvm.org/

License: Apache-2.0 WITH LLVM-exception

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

Formula code: llvm@16.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
monterey
macOS on
Intel
sequoia
sonoma
ventura
monterey
Linux ARM64
x86_64

Current versions:

stable 16.0.6

Other versions:

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

Revision: 1

Keg-only

Depends on:

python@3.12 3.12.10 Interpreted, interactive, object-oriented programming language
xz 5.8.1 General-purpose data compression with high compression ratio
zstd 1.5.7 Zstandard is a real-time compression algorithm

Depends on when building from source:

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

Analytics:

Installs (30 days)
llvm@16 1,285
Installs on Request (30 days)
llvm@16 814
Build Errors (30 days)
llvm@16 25
Installs (90 days)
llvm@16 3,521
llvm@16 --HEAD 2
Installs on Request (90 days)
llvm@16 1,987
llvm@16 --HEAD 2
Installs (365 days)
llvm@16 26,488
llvm@16 --HEAD 19
Installs on Request (365 days)
llvm@16 14,237
llvm@16 --HEAD 19
Fork me on GitHub