-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
CMake: fix incorrect version for finding llvm-config #12150
CMake: fix incorrect version for finding llvm-config #12150
Conversation
Signed-off-by: Stephan Lachnit <[email protected]>
Can one of the admins verify this patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks!
@phsft-bot build |
Starting build on |
Build failed on ROOT-ubuntu2004/python3. |
@phsft-bot build just on ROOT-ubuntu2004/python3 |
Starting build on |
Build failed on ROOT-ubuntu2004/python3. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why the clone of root.git
fails on Ubuntu 20.04, but seems unrelated to the changes here.
Signed-off-by: Stephan Lachnit <[email protected]> (cherry picked from commit 37b2521)
) Signed-off-by: Stephan Lachnit <[email protected]>
This Pull request:
Changes or fixes:
Fixes that CMake was still trying to look for
llvm-config-9
instead ofllvm-config-13
after for #10294.To prevent this I added two variable in the beginning of the file so that it is less likely to be forgotten next time. I also moved the versioned version before the unversioned one. This should make sure it actually takes the right version if
llvm-config
defaults to a version that is not 13 (currently the case in Debian e.g.)./cc @hahnjo @vgvassilev @bellenot
Checklist: