Uh oh!
There was an error while loading. Please reload this page.
cmake/llvm: Don't unset LLVM_CONFIG_EXE - #19971
Conversation
I think it'd be better to let |
You can add -DCMAKE_PREFIX_PATH="${where_is_llvm_bin_and_libraries", but I too don't know why we unset it.
It's already can be overwritten. |
BratishkaErik
commented
May 15, 2024
Is it for Exherbo's |
beholders-eye
commented
May 15, 2024
Yes, please. Thank you. |
andrewrk
left a comment
There was a problem hiding this comment.
Since it is not obvious why to unset, and there is no comment explaining why, it can be removed, and if it needs to be added back then it should come with a comment explaining why.
Snektron
commented
May 23, 2024
I found out why: At least on my machine, cmake hangs without this when the right LLVM version is not found. |
In my understanding, to answer what the
Unsetting the variable seems critical on the paths that |
andrewrk
commented
May 24, 2024
OK let's have it back with a comment explaining its purpose then please |
andrewrk
commented
May 25, 2024
Reverted in 793f820 |
beholders-eye
commented
Jun 9, 2024
That was my main reason for removing it in this PR. Was this done in |
beholders-eye
commented
Jun 9, 2024
Fixed the build locally by setting |
Left a comment in #12136, asking why we decided to unset
LLVM_CONFIG_EXE.