Move Clang easyconfigs to use LLVM easyblock#23028
Move Clang easyconfigs to use LLVM easyblock#23028Flamefire wants to merge 2 commits intoeasybuilders:developfrom
Conversation
Updated software
|
|
I think we should really move on from We should also use @Thyre For the CUDA part you definitely have more experience, do we actually need CUDA as a runtime dependency (or even a build dependency, maybe for running the tests?) |
|
CUDA (and in the same sense ROCm) is a tiny bit complicated. We absolutely do not need it to build offload support. I'm not against having it in the EasyConfigs, since that also makes absolutely clear that NVPTX support will be built. I see it more or less as a convenience. I guess its similar to #22418 in a sense, where CUDA is required for the build, but doesn't actually matter during runtime. Only when you want to offload, you'll need to load CUDA. |
|
If we remove CUDA as a (build)dependency then the LLVM easyblock will not select the NVTPX backend. And manually specifying it will remove the other defaults. |
LLVM selects the NVPTX backend when with a similar condition for AMD, though there's no config option for that yet (see easybuilders/easybuild-framework#4860) |
|
Also for LLVM >= 20 we have |
|
I've moved only the Clang 18 easyconfigs: #23055 Goal there was to have the same result as before for the existing easyconfigs. Newer ECs should use LLVM directly, so closing this. |
This is intended to test easybuilders/easybuild-easyblocks#3755
I'll reduce this to changes and move the new easyconfigs out using correct names and comments (I need a specific commit for Triton)