-
Notifications
You must be signed in to change notification settings - Fork 322
LLVM installation
Stéphane Letz edited this page Mar 30, 2022
·
13 revisions
Installation with macports
-
install LLVM first
-
Then install llvm-select
-
Then
sudo port select llvm
gives something like:
Available versions for llvm:
mp-llvm-10
mp-llvm-11
mp-llvm-12 (active)
mp-llvm-devel
none
-
You can chose the version you want to install:
sudo port select llvm mp-llvm-11
-
Now
llvm-config
should now be available
Installation with brew
-
do
brew install llvm
-
on M1 chipset-based systems, homebrew does not automatically link llvm into user space, so an additional
brew link --force llvm
is needed