update Clang easyblock to add support for new directory structure in Clang versions >= 14 + support Flang + fix --module-only + fix sanity check for Clang 11.x #2800
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
|
:( apparently, this never got merged |
|
In fact, I am not able to get clang to build without downloading the full package I would suggest to drop the per-component download, and to select which component to install based on |
|
@mboisson This looks good, but there seems to be a conflict right now, can you fix that? Is there a PR that uses this? I can add one based on your repos. I'd like to do one which includes |
I have no clue how to merge that conflict... the code is completely different and is not in a single commit so I can't cherry-pick the change :( You will have to fix the conflict while merging |
|
@ocaisa the other changes are incorporated |
|
I am not sure why the tests are not actually running... Any idea @ocaisa ? |
|
Test report by @ocaisa Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
...and some other tweaks
Update list of available runtimes in Clang easyblock
and Clang < v12
Allow Clang easyblock to work with `--module-only`
|
Test report by @ocaisa Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
Test report by @ocaisa Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
Test report by @ocaisa Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
Test report by @ocaisa Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
Test report by @ocaisa Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
Test report by @ocaisa Overview of tested easyconfigs (in order)
Build succeeded for 3 out of 3 (3 easyconfigs in total) |
|
Last test was to ensure |
🥳 |
| try: | ||
| default_targets = DEFAULT_TARGETS_MAP[arch][:] | ||
| # If CUDA is included as a dep, add NVPTX as a target | ||
| if get_software_root("CUDA"): |
There was a problem hiding this comment.
Doing this in the constructor doesn't work, since the modules for the dependencies are only loading in prepare_step => #2871
There was a problem hiding this comment.
I guess the key is in the comment here, this should be like what is done in LAMMPS (https://github.com/easybuilders/easybuild-easyblocks/blob/develop/easybuild/easyblocks/l/lammps.py#L175-L177)
No description provided.