-
Notifications
You must be signed in to change notification settings - Fork 359
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 llvmgives 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-configshould 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 llvmis needed