1 Update Clang on MacOS Darwin
Andreas Matthies edited this page 2024-02-19 19:24:25 +01:00

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