Formula

llvm@19

19.1.7

Next-gen compiler infrastructure

Install

brew install llvm@19

Details

Sources

Supported platforms

ArchitecturePlatformsVersionDownload
Apple SiliconGolden Gate19.1.7File
SHA-256cd9291ec597cc0e14dc423523dde71c1f3d65ab9359d92fcaa0d91d9059432d5
Apple SiliconTahoe19.1.7File
SHA-25628c7fece7d2ea7a8952f747f7d5d2c16f071eb9816f1cb3b052705121993142c
Apple SiliconSequoia19.1.7File
SHA-2567c5f193a831e4296a73ae06d611be2bcbab357510bfb1110c2a124a7da2f9ff4
Apple SiliconSonoma19.1.7File
SHA-25637747f7b66d323ef07f18d471b928480a67ad93de8d5f7bdd3418367f1a8eac6
IntelSonoma19.1.7File
SHA-2567739d54a784eafaa3c7d76a112bbafdd16214e60a58e60bc9a41240d2b981577
ARM64Linux19.1.7File
SHA-2568ef18f97820ef8d630e7bebec7e429a8db87511e7e51e4432d1ec95967afb265
x86_64Linux19.1.7File
SHA-256cdc5c9b0be11f6047a801b1bcc56e75d3047be1f91ade13965ffdadf077406a6

Dependencies

  • zstd

Package data

Caveats

CLANG_CONFIG_FILE_SYSTEM_DIR: $HOMEBREW_PREFIX/etc/clang
CLANG_CONFIG_FILE_USER_DIR:   ~/.config/clang

LLD is now provided in a separate formula:
  brew install lld@19

Using `clang`, `clang++`, etc., requires a CLT installation at `/Library/Developer/CommandLineTools`.
If you don't want to install the CLT, you can write appropriate configuration files pointing to your
SDK at ~/.config/clang.

To use the bundled libunwind please use the following LDFLAGS:
  LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@19/lib/unwind -lunwind"

To use the bundled libc++ please use the following LDFLAGS:
  LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@19/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@19/lib/unwind -lunwind"

NOTE: You probably want to use the libunwind and libc++ provided by macOS unless you know what you're doing.