You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "zhanchangbao-sanechips (via GitHub)" <gi...@apache.org> on 2026/06/16 08:04:36 UTC
[PR] ORC-2179: Add RISC-V Docker image and GitHub Actions support [orc]
zhanchangbao-sanechips opened a new pull request, #2644:
URL: https://github.com/apache/orc/pull/2644
### 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 both `cc=gcc` (default) and `cc=clang` build args.
- `docker/os-list.txt`: registered the new image.
- `.github/workflows/build_and_test.yml`: added a `riscv64` job running under QEMU on `ubuntu-latest`, building with `-DBUILD_ENABLE_RVV=ON`.
### Notes
- The job currently only builds ORC. RVV-specific tests will be added in follow-up PRs after the RVV decoder implementation is in.
- I followed the same pattern as the existing `aarch64` / `ubuntu24` Docker images to keep things consistent.
- Local verification was done with `docker buildx` on a host with QEMU user-static registered.
### ScreenShot
<img width="970" height="340" alt="1" src="https://github.com/user-attachments/assets/4cee0ece-a594-4fbe-8cf7-4b6e2b8f7219" />
<img width="875" height="255" alt="2" src="https://github.com/user-attachments/assets/6ece8345-a613-4bfe-8cd2-1ee9e92a32c7" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ORC-2179: Add RISC-V Docker image and GitHub Actions support [orc]
Posted by "zhanchangbao-sanechips (via GitHub)" <gi...@apache.org>.
zhanchangbao-sanechips commented on PR #2644:
URL: https://github.com/apache/orc/pull/2644#issuecomment-4727640381
> Please use `riscv64/ubuntu:26.04` because 26.04 is the latest LTS.
Thanks for the review. Updated to use riscv64/ubuntu:26.04 as suggested.
Changes made:
Renamed docker/riscv64-ubuntu24/ to docker/riscv64-ubuntu26/
Updated FROM --platform=linux/riscv64 ubuntu:26.04
Updated docker/os-list.txt
Updated the GitHub Actions matrix and cache scope to riscv64-ubuntu26
Please take another look when you have time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ORC-2179: Add RISC-V Docker image and GitHub Actions support [orc]
Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #2644:
URL: https://github.com/apache/orc/pull/2644#issuecomment-4884693460
While preparing Apache ORC 1.9.9 EOL release, I've checked the CIs.
Unfortunately, this PR seems to cause the CI outage because we missed the CI didn't pass indeed at the last commit.
<img width="1086" height="220" alt="Screenshot 2026-07-04 at 20 23 08" src="https://github.com/user-attachments/assets/8b74e9a1-a88f-42ef-854c-7ebc0638841c" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ORC-2179: Add RISC-V Docker image and GitHub Actions support [orc]
Posted by "zhanchangbao-sanechips (via GitHub)" <gi...@apache.org>.
zhanchangbao-sanechips commented on code in PR #2644:
URL: https://github.com/apache/orc/pull/2644#discussion_r3433384153
##########
.github/workflows/build_and_test.yml:
##########
@@ -63,6 +63,38 @@ jobs:
cd docker
./run-one.sh local main ${{ matrix.os }}
+ riscv64:
+ name: "RISC-V ${{ matrix.os }}"
+ needs: [license-check]
+ runs-on: ubuntu-latest
+ timeout-minutes: 180
+ strategy:
+ fail-fast: false
+ max-parallel: 20
+ matrix:
+ os:
+ - riscv64-ubuntu26
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v3
+ with:
+ platforms: linux/riscv64
+ - name: Set up Buildx
+ uses: docker/setup-buildx-action@v3
+ - name: Build Docker image
+ run: |
+ cd docker/${{ matrix.os }}
+ docker buildx build --platform linux/riscv64 --load \
+ --cache-from type=gha,scope=riscv64-ubuntu26 \
+ --cache-to type=gha,mode=max,scope=riscv64-ubuntu26 \
+ -t orc-riscv64 .
+ - name: Build ORC with RVV
+ run: |
+ docker run --platform linux/riscv64 --rm -v $(pwd):/root/orc orc-riscv64 /bin/bash -c \
Review 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".
<img width="1668" height="1039" alt="PixPin_2026-06-18_11-01-21" src="https://github.com/user-attachments/assets/183654a6-da61-466d-b7d9-c25c25074a8a" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ORC-2179: Add RISC-V Docker image and GitHub Actions support [orc]
Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #2644:
URL: https://github.com/apache/orc/pull/2644#issuecomment-4884698124
In the commit builders, this also fails due to the timeout like the following. We need to find another way to deliver this.
- https://github.com/apache/orc/actions/runs/28529515772/job/84575485372
<img width="634" height="265" alt="Screenshot 2026-07-04 at 20 25 08" src="https://github.com/user-attachments/assets/8207bdda-44c5-4482-823f-ab985d8ab791" />
So, let me revert this to recover the CIs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ORC-2179: Add RISC-V Docker image and GitHub Actions support [orc]
Posted by "ffacs (via GitHub)" <gi...@apache.org>.
ffacs commented on PR #2644:
URL: https://github.com/apache/orc/pull/2644#issuecomment-4825409296
Merged. Thanks @zhanchangbao-sanechips @wgtmac @dongjoon-hyun ~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ORC-2179: Add RISC-V Docker image and GitHub Actions support [orc]
Posted by "ffacs (via GitHub)" <gi...@apache.org>.
ffacs commented on code in PR #2644:
URL: https://github.com/apache/orc/pull/2644#discussion_r3426932369
##########
.github/workflows/build_and_test.yml:
##########
@@ -63,6 +63,38 @@ jobs:
cd docker
./run-one.sh local main ${{ matrix.os }}
+ riscv64:
+ name: "RISC-V ${{ matrix.os }}"
+ needs: [license-check]
+ runs-on: ubuntu-latest
+ timeout-minutes: 180
+ strategy:
+ fail-fast: false
+ max-parallel: 20
+ matrix:
+ os:
+ - riscv64-ubuntu26
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v3
+ with:
+ platforms: linux/riscv64
+ - name: Set up Buildx
+ uses: docker/setup-buildx-action@v3
+ - name: Build Docker image
+ run: |
+ cd docker/${{ matrix.os }}
+ docker buildx build --platform linux/riscv64 --load \
+ --cache-from type=gha,scope=riscv64-ubuntu26 \
+ --cache-to type=gha,mode=max,scope=riscv64-ubuntu26 \
+ -t orc-riscv64 .
+ - name: Build ORC with RVV
+ run: |
+ docker run --platform linux/riscv64 --rm -v $(pwd):/root/orc orc-riscv64 /bin/bash -c \
Review Comment:
we should make sure v extension is enable
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ORC-2179: Add RISC-V Docker image and GitHub Actions support [orc]
Posted by "ffacs (via GitHub)" <gi...@apache.org>.
ffacs closed pull request #2644: ORC-2179: Add RISC-V Docker image and GitHub Actions support
URL: https://github.com/apache/orc/pull/2644
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org