FastBrew

Formula v23.1.6

llvm

Next-gen compiler infrastructure

$
brew install llvm
License
Apache-2.0 WITH LLVM-exception
Website
llvm.org

Dependencies

Build dependencies

Installation notes

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

LLD and LLDB are now provided in separate formulae:
  brew install lld
  brew install lldb

Z3 solver support will be removed in LLVM 24 as it is unsupported upstream,
see https://github.com/llvm/llvm-project/pull/205370

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/lib/unwind -lunwind"

To use the bundled libc++ please use the following LDFLAGS:
  LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm/lib/unwind -lunwind"
Features newer than system libc++ will require the following define to enable
(support for this may be removed in a future major LLVM release):
  CPPFLAGS="-D_LIBCPP_DISABLE_AVAILABILITY"

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

Homebrew installs

+33.8% vs 90 day average
30 days
127.2K
4.2K a day
90 days
285.1K
3.2K a day
1 year
975.5K
2.7K a day
View all

formula Development

node

Open-source, cross-platform JavaScript runtime environment

formula Development

pcre2

Perl compatible regular expressions library with a new API