Skip to content

LLVM installation

Stéphane Letz edited this page Mar 30, 2022 · 13 revisions

Installing LLVM on macOS

Installation with macports

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

Clone this wiki locally