Skip to content

tools/ci: add the RH850 toolchain and QEMU to the CI environment - #21497

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
linumiz:rh850/ci-tools
Nov 18, 2026
Merged

xiaoxiang781216 merged 1 commit into
apache:masterfrom
linumiz:rh850/ci-tools

Conversation

@parthitce

@parthitce parthitce commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the v850-elf toolchain and qemu-system-rh850 to the Linux CI image, linux.sh and ubuntu.sh, as asked in #21456. Both come from prebuilt release archives, checked with SHA-256 before unpacking:

https://github.com/linumiz/rh850-gcc-toolchain/releases/tag/v1.2.0
https://github.com/linumiz/qemu-rh850/releases/tag/rh850-v1.2.0

The toolchain release also publishes the source of every component and the build scripts.

Impact

CI only. The image grows by about 98 MB compressed. The RH850 testlist entries follow in a separate PR once the image is published.

Testing

Built the image locally, both checksums pass. In it, nsh and ostest build for hard and soft float with Make and CMake, and ostest passes on QEMU. The linux.sh and ubuntu.sh install steps were tested too, including a wrong checksum, which stops the install.

@parthitce

Copy link
Copy Markdown
Contributor Author

Adding @xiaoxiang781216 @raiden00pl @casaroli for review. Thanks.

xiaoxiang781216
xiaoxiang781216 previously approved these changes Nov 6, 2026
@github-actions github-actions Bot added Area: CI Size: S The size of the change in this PR is small labels Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

MemBrowse Memory Report · Explore what changed →

No memory changes detected for:


Catch memory regressions in CI with MemBrowse. Free for open source.

@parthitce

Copy link
Copy Markdown
Contributor Author

CI failure was not relvant and I did a rebase, please re-trigger CI, Thanks

@casaroli casaroli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

linux.sh and ubuntu.sh in this PR add a ccache link for v850-elf-gcc, but the Dockerfile list of /tools/ccache/bin links does not, so RH850 builds in the CI image run without ccache.
Fix: add ln -sf `which ccache` /tools/ccache/bin/v850-elf-gcc && \ next to the rx-elf-gcc line in tools/ci/docker/linux/Dockerfile.

@parthitce

Copy link
Copy Markdown
Contributor Author

linux.sh and ubuntu.sh in this PR add a ccache link for v850-elf-gcc, but the Dockerfile list of /tools/ccache/bin links does not, so RH850 builds in the CI image run without ccache. Fix: add ln -sf `which ccache` /tools/ccache/bin/v850-elf-gcc && \ next to the rx-elf-gcc line in tools/ci/docker/linux/Dockerfile.

Thanks, added the v850-elf-gcc ccache link next to rx-elf-gcc in the Dockerfile. Kindly re-visit.

Comment thread tools/ci/docker/linux/Dockerfile Resolved
Comment thread tools/ci/docker/linux/Dockerfile Resolved
The RH850 port needs the v850-elf GCC toolchain and qemu-system-rh850 to
build and run its qemu-rh850-u2c configurations.  Install both from
their prebuilt x86_64 Linux release archives in the Linux CI image, and
in linux.sh and ubuntu.sh for local cibuild.sh runs.  On Ubuntu,
qemu-system-rh850 also needs the GLib runtime.  Each archive is checked
against its SHA-256 before it is unpacked.

Sources and build scripts for both are published at
https://github.com/linumiz/rh850-gcc-toolchain/releases/tag/v1.2.0

The image stage drops the toolchain documentation under share/.  The
stage adds about 98 MB compressed (297 MB unpacked) to the image.

Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
@github-actions github-actions Bot added Size: M The size of the change in this PR is medium and removed Size: S The size of the change in this PR is small labels Nov 17, 2026
@xiaoxiang781216
xiaoxiang781216 merged commit 5cc3bde into apache:master Nov 18, 2026
52 of 54 checks passed
@parthitce

Copy link
Copy Markdown
Contributor Author

Happy that the changes are merged, but I largely dislike the idea of review dimissal @xiaoxiang781216. It must either be addressed / resolved by the reviwer or approve to close the reviewer itself.

Please stop dismmising the reviews @xiaoxiang781216 yourself across every changes. If needed, I can open process change in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: CI Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants