Skip to content

Update Clang on MacOS Darwin

Andreas Matthies edited this page Feb 19, 2024 · 1 revision

This is what it needs to update Clang on older MacOS (Clang-17 on Mojave in this example):

sudo port install clang-17

open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

  • Add compiler's binary to PATH:

export PATH=/opt/local/libex/llvm-17/bin/:$PATH

Clone this wiki locally