There is a single change in ABI that breaks compiling with clang-17: LLVMModule::getGlobalList() to LLVMModule::globals(). That was wrapped with an #if
A second change is to match any provided LLVM version in find_package() and use a second check to match major versions from 16 to 17. The reason for this is that even though we can provide a version range in find_package(), the LLVMConfigVersion.cmake installed with the llvm distribution will only match exactly the MAJOR.MINOR version.
There is a single change in ABI that breaks compiling with clang-17: LLVMModule::getGlobalList() to LLVMModule::globals(). That was wrapped with an
#if
A second change is to match any provided LLVM version in
find_package()
and use a second check to match major versions from 16 to 17. The reason for this is that even though we can provide a version range infind_package()
, the LLVMConfigVersion.cmake installed with the llvm distribution will only match exactly the MAJOR.MINOR version.