Repository navigation
tools/ci: add the RH850 toolchain and QEMU to the CI environment - #21497
Conversation
|
Adding @xiaoxiang781216 @raiden00pl @casaroli for review. Thanks. |
|
1a98744 to
a8370f8
Compare
|
CI failure was not relvant and I did a rebase, please re-trigger CI, Thanks |
casaroli
left a comment
There was a problem hiding this comment.
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.
a8370f8 to
cebaa75
Compare
Thanks, added the v850-elf-gcc ccache link next to rx-elf-gcc in the Dockerfile. Kindly re-visit. |
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>
cebaa75 to
655f96c
Compare
|
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. |
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.