-
Notifications
You must be signed in to change notification settings - Fork 1.4k
CMake: fix incorrect version for finding llvm-config #12150
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
Conversation
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
|
Can one of the admins verify this patch? |
vgvassilev
left a comment
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. |
hahnjo
left a comment
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 <stephanlachnit@debian.org> (cherry picked from commit 37b2521)
This Pull request:
Changes or fixes:
Fixes that CMake was still trying to look for
llvm-config-9instead ofllvm-config-13after 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-configdefaults to a version that is not 13 (currently the case in Debian e.g.)./cc @hahnjo @vgvassilev @bellenot
Checklist: