Skip to content

WIP: CHERI Standard support #419

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
Draft
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
c1a4b05
[zcheri] Initial support for the RISC-V CHERI standard
arichardson Apr 22, 2025
648dda8
[zcheri] Honor riscv_cheri_isa configuration flag for CheriBSD builds.
qwattash May 26, 2025
214485f
[zcheri] Add Cheri Alliance OpenSBI target with Zcheri support.
qwattash Aug 8, 2025
9cb5bf0
[zcheri] Default OpenSBI start to 0x80000000
qwattash Aug 8, 2025
56fa427
[zcheri] Added gfe build for cheri alliance opensbi
francislaus May 29, 2025
674df00
[zcheri] Add CHERI Alliance SDK (QEMU and LLVM)
heshamelmatary Jun 23, 2025
4e18945
[zcheri] Use CHERI Alliance SDK for CheriBSD targets.
qwattash Jun 27, 2025
0262d09
[zcheri] Add GDB target off CHERI Alliance
heshamelmatary Jun 26, 2025
83a52b5
[zcheri] Obey --riscv-cheri-isa in run-riscv64-xxx.
qwattash Jun 30, 2025
af5f307
[zcheri] Honor --riscv-cheri-isa for baremetal targets.
qwattash Jul 1, 2025
fae3ba9
[zcheri] Add Cheri Alliance gdb for purecap rootfs target.
qwattash Jul 3, 2025
4fa1f28
[zcheri] Disable -mrelax for Zcheri ISA.
qwattash Jul 3, 2025
df3777e
[zcheri] Fix sysroot path to alliance sdk
heshamelmatary Jul 25, 2025
31abb57
combine-files: Make sure opensbi.py precedes other projects
heshamelmatary Jul 25, 2025
639be27
[zcheri] Fix llvm_test_suite llvm_project dependency resolution.
qwattash Jul 28, 2025
ee6c8fe
[zcheri] Drop unused `unaligned` option from BuildCheriAllianceQEMU.
qwattash Jul 30, 2025
953e90e
[qemu] Bump tracked branch in cheri-alliance-qemu.
qwattash Aug 1, 2025
5932aa2
[WIP] DO NOT MERGE Point the cheri-alliance-llvm target to codasip-re…
qwattash Aug 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pycheribuild/projects/cross/llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,11 @@ def get_native_install_path(cls, config: CheriConfig):


class BuildCheriAllianceLLVM(BuildLLVMMonoRepoBase):
# repository = GitRepository(
# "https://github.com/CHERI-Alliance/llvm-project.git", default_branch="codasip-cheri-riscv", force_branch=True
# )
repository = GitRepository(
"https://github.com/CHERI-Alliance/llvm-project.git", default_branch="codasip-cheri-riscv", force_branch=True
"https://github.com/veselypeta/cherillvm", default_branch="codasip-rebased", force_branch=True
Copy link
Member Author

Choose a reason for hiding this comment

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

You could use a temporary_url_override here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah yes, I did not remember that was a thing

Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a way to override the default branch as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah looks like that doesn't exist yet.

Copy link
Contributor

Choose a reason for hiding this comment

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

I can probably add that fairly easily. It's certainly cleaner than this.

)
default_directory_basename = "cheri-alliance-llvm-project"
target = "cheri-alliance-llvm"
Expand Down
Loading