Add compatibility with LLVM 20.1#1993
Conversation
Signed-off-by: Sven-Hendrik Haase <svenstaro@gmail.com>
|
Is that really all it takes to get fully LLVM 20 enabled? How did you test it? I tried your patch on my end using the llvm 20 from Homebrew, and I'm still getting errors like |
|
Thank you, this patch does work for me on Termux (a subset of Android 7.0), but I do also see the warning mentioned by lgritz. It might be just luck, or subtle variations between LLVM platforms, that applying this patch allows the build to complete for some people but not others, because, even though svenstaro might be using |
I built and used blender against it.
You can try to build without |
|
I believe I have a fix. @svenstaro do you mind if I push an update to your fork to complete this PR? |
|
Please go right ahead. |
Signed-off-by: Larry Gritz <lg@larrygritz.com>
|
With the additional changes I just made, it all seems to build and work properly when tested on my Mac with llvm20 from Homebrew. |
|
@svenstaro Please let me know if the changes I pushed look ok to you. We don't like to push to somebody else's PR and then merge it with their name attached if we aren't sure that they fully agree with the changes. |
|
I will merge this (including my amendment) over the weekend if I don't hear any objections from @svenstaro or anyone else by then. |
|
Seems to work alright here. |
8599942
into
AcademySoftwareFoundation:main
This adds LLVM 20 compatibility. Fixes AcademySoftwareFoundation#1963. Signed-off-by: Sven-Hendrik Haase <svenstaro@gmail.com> Signed-off-by: Larry Gritz <lg@larrygritz.com> Co-authored-by: Larry Gritz <lg@larrygritz.com>
Description
This adds LLVM 20 compatibility. The changes are thankfully quite concise.
Fixes #1963.
Tests
Checklist:
already run clang-format v17 before submitting, I definitely will look at
the CI test that runs clang-format and fix anything that it highlights as
being nonconforming.