Skip to content

Zcheri risc-v integration. Temporary branch for CI #429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

qwattash
Copy link
Contributor

@qwattash qwattash commented Aug 8, 2025

Rebased and cleaned up history in #419 , checking CI

arichardson and others added 18 commits August 8, 2025 10:51
This adds a --riscv-cheri-isa flag to choose the target toolchain.
Imitate morello-llvm to build CHERI Alliance's LLVM and QEMU
for --riscv-cheri-isa std. This only applies to CHERI-RISC-V.

Co-authored-by: Hesham Almatary <[email protected]>
Otherwise it'll link to 0x0.

Co-authored-by: Hesham Almatary <[email protected]>
Imitate morello-llvm to build CHERI Alliance's LLVM and QEMU
for --riscv-cheri-isa std. This only applies to CHERI-RISC-V.
Depending on ISA switch --riscv-cheri-isa,use the appropriat SDK.
This is not currently supported by the Cheri Allliance LLVM.
Also delete unused Alliance target class
CI fails otherwise with an error:

Traceback (most recent call last):
  File "<stdin>", line 22514, in <module>
  File "<stdin>", line 22851, in BuildCheriseL4Excercises
NameError: name 'BuildAllianceOpenSBI' is not defined
Propagate the current CheriConfig depending whether the llvm_project
is queried during early dependency resolution or during Project
initialization.
…based.

Temporarily point the default branch of the cheri-alliance-llvm to the
private repository with the latest rebased branch.
This unbreaks cheribsd builds, but should not be used as the official solution.
@qwattash qwattash changed the title Temporary branch for CI Zcheri risc-v integration. Temporary branch for CI Aug 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants