clc: llvm 17 requires opaque pointers.
You can't turn this off for llvm17+, this at least makes things run against llvm git now instead of blowing up in clang. Reviewed-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24000>
This commit is contained in:
@@ -783,7 +783,7 @@ clc_compile_to_llvm_module(LLVMContext &llvm_ctx,
|
||||
#else
|
||||
"-finclude-default-header",
|
||||
#endif
|
||||
#if LLVM_VERSION_MAJOR >= 15
|
||||
#if LLVM_VERSION_MAJOR >= 15 && LLVM_VERSION_MAJOR < 17
|
||||
"-no-opaque-pointers",
|
||||
#endif
|
||||
// Add a default CL compiler version. Clang will pick the last one specified
|
||||
|
Reference in New Issue
Block a user