Skip to content

add RISC-V support to Clang easyblock#3325

Merged
SebastianAchilles merged 1 commit intoeasybuilders:developfrom
bedroge:clang_riscv
May 9, 2024
Merged

add RISC-V support to Clang easyblock#3325
SebastianAchilles merged 1 commit intoeasybuilders:developfrom
bedroge:clang_riscv

Conversation

@bedroge
Copy link
Copy Markdown
Contributor

@bedroge bedroge commented May 7, 2024

The LLVM easyblock uses the targets defined in the Clang easyblock. This PR adds RISCV to the supported targets, which seems supported (see https://github.com/llvm/llvm-project/blob/llvmorg-9.0.0/llvm/CMakeLists.txt#L288) since LLVM version 9.

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented May 8, 2024

Test report by @bedroge

Overview of tested easyconfigs (in order)

Build succeeded for 0 out of 1 (1 easyconfigs in total)
starfive - Linux Debian GNU/Linux 2.15, RISC-V-64, UNKNOWN, Python 3.10.9
See https://gist.github.com/bedroge/2234caf0b5013b27faa5ac663b1891d0 for a full test report.

edit: not sure why this failed, but I think it may have picked up some dependencies from EESSI and some from a local stack. It worked fine in a full EESSI environment, and also in a full non-EESSI environment (see test report below).

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented May 9, 2024

Test report by @bedroge

Overview of tested easyconfigs (in order)

  • SUCCESS Python-3.11.5-GCCcore-13.2.0.eb
  • SUCCESS cURL-8.3.0-GCCcore-13.2.0.eb
  • SUCCESS libarchive-3.7.2-GCCcore-13.2.0.eb
  • SUCCESS CMake-3.27.6-GCCcore-13.2.0.eb
  • SUCCESS LLVM-16.0.6-GCCcore-13.2.0.eb

Build succeeded for 5 out of 5 (1 easyconfigs in total)
starfive - Linux Debian GNU/Linux n/a, RISC-V-64, UNKNOWN, Python 3.10.9
See https://gist.github.com/bedroge/42eff9d80709794ec0542b4ed8a38690 for a full test report.

@SebastianAchilles
Copy link
Copy Markdown
Member

Test report by @SebastianAchilles

Overview of tested easyconfigs (in order)

  • SUCCESS LLVM-16.0.6-GCCcore-13.2.0.eb

Build succeeded for 1 out of 1 (1 easyconfigs in total)
arriesgado-2 - Linux Ubuntu 22.04, RISC-V-64, UNKNOWN (u74mc), Python 3.10.12
See https://gist.github.com/SebastianAchilles/47b4023cb994cc7a58a639263bf1260a for a full test report.

Copy link
Copy Markdown
Member

@SebastianAchilles SebastianAchilles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@SebastianAchilles
Copy link
Copy Markdown
Member

Going in, thanks @bedroge!

@SebastianAchilles SebastianAchilles merged commit 7191ef8 into easybuilders:develop May 9, 2024
@bedroge bedroge deleted the clang_riscv branch May 9, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EESSI Related to EESSI project enhancement riscv

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants