-
Notifications
You must be signed in to change notification settings - Fork 383
Add compatibility with LLVM 20.1 #1993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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. |
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.