Unload the llvm module after loading the other dependencies for wb testing#27601
Unload the llvm module after loading the other dependencies for wb testing#27601lydia-duncan merged 1 commit intochapel-lang:mainfrom
Conversation
…sting I may need to make a special dependencies script just for our whiteboxes, but at a glance the only thing we didn't want was LLVM, since it was confusing our CC setting, so try just unloading it. ---- Signed-off-by: Lydia Duncan <lydia-duncan@users.noreply.github.com>
jabraham17
left a comment
There was a problem hiding this comment.
This seems suspect to me, can you elaborate on what went wrong?
|
Sure! The load dependencies script grabs LLVM along with everything else, but this seems to also result in LLVM being used for CC, which the whitebox configurations depend on to determine their TARGET setting. The whitebox configurations want to cover gnu, cray and intel, not LLVM |
|
At least, I think that's what is going on. I do believe it did not have LLVM in the environment before loading the dependencies (since it wasn't grabbing anything at all), and so running without LLVM in the environment should not hurt the configuration |
|
Ok this is concerning to me then. It does look like the clang from spack is being picked up by |
|
Yeah it looks like I would suggest explicitly setting |
|
It looks like that is supposed to get set to either |
|
My read of previous logs and the script is that |
jabraham17
left a comment
There was a problem hiding this comment.
Lydia and I discussed this offline. While I am still not sure this is the best/most principled solution, our XC testing is kept alive as a best effort (since XC is EOL) so this is fine to keep it afloat
I may need to make a special dependencies script just for our whiteboxes, but at a glance the only thing we didn't want was LLVM, since it was confusing our CC setting, so try just unloading it.