{{ message }}
ORC-2179: Add RISC-V Docker image and GitHub Actions support#2644
Open
zhanchangbao-sanechips wants to merge 3 commits into
Open
ORC-2179: Add RISC-V Docker image and GitHub Actions support#2644zhanchangbao-sanechips wants to merge 3 commits into
zhanchangbao-sanechips wants to merge 3 commits into
Conversation
This patch adds a riscv64 Ubuntu 24.04 Docker image and a corresponding GitHub Actions job to build ORC on RISC-V.
dongjoon-hyun
requested changes
Jun 16, 2026
dongjoon-hyun
left a comment
Member
There was a problem hiding this comment.
Please use riscv64/ubuntu:26.04 because 26.04 is the latest LTS.
Author
ffacs
reviewed
Jun 17, 2026
Contributor
There was a problem hiding this comment.
we should make sure v extension is enable
There was a problem hiding this comment.
we should make sure v extension is enable
I have updated the docker run command to include the environment variable QEMU_CPU=rv64,v=on,vlen=128,vext_spec=v1.0, and verified that RVV is working correctly.
The vext_spec=v1.0 explicitly specifies the vector extension version to suppress the warning: "vector version is not specified, use the default value v1.0".
Set QEMU_CPU=rv64,v=on,vlen=128,vext_spec=v1.0 in the riscv64 CI job and pass it into the Docker container via -e QEMU_CPU. This ensures the emulated RISC-V CPU has the V extension enabled so that ORC's RVV code path can be exercised in CI.
10db7dd to
8fba229
Compare
ffacs
approved these changes
Jun 23, 2026
dongjoon-hyun
approved these changes
Jun 25, 2026
wgtmac
approved these changes
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What this PR does
Adds a RISC-V (riscv64) Docker image for Ubuntu 24.04 and wires it into GitHub Actions so we can continuously build ORC on RISC-V.
Changes
docker/riscv64-ubuntu24/Dockerfile: new image based on the existing Ubuntu 24.04 Dockerfile. Supports bothcc=gcc(default) andcc=clangbuild args.docker/os-list.txt: registered the new image..github/workflows/build_and_test.yml: added ariscv64job running under QEMU onubuntu-latest.Notes
aarch64/ubuntu24Docker images to keep things consistent.docker buildxon a host with QEMU user-static registered.ScreenShot