[llvm-dev] Issues with the precompiled LLVM 12 for macOS
Alex Denisov via llvm-dev
llvm-dev at lists.llvm.org
Tue Jun 29 00:39:50 PDT 2021
I just wanted to send you a heads up that there is an issue with the precompiled LLVM package for macOS.
The LLVMConfig.cmake has a very specific path hardcoded in it:
Any build that depends on LLVMSupport fails unless there is this very specific macOS SDK present.
The workaround is rather straightforward:
find_package(LLVM REQUIRED CONFIG)
if (LLVM_VERSION_MAJOR EQUAL 12)
It never happened before at least since the version 3.9, so I guess an automated check might be an overkill.
But I'm curious how can we prevent this from happening again?
More information about the llvm-dev