Minor: Configuring with multiple RTEMS targets
还没有人认领这个 Issue。
评估
调研方向
Start by tracing the cue.py prepare handling of CI_CROSS_TARGETS and RTEMS compiler setup; the issue provides no file or test names. Check how multiple targets trigger compiler version commands and where their RTEMS versions are parsed. Done means compiler checks run as intended and mixed RTEMS versions are rejected for a single Base build tree, with coverage for multiple targets.
由索引模型根据 Issue 内容生成。
描述
A GHA build configured with
CI_CROSS_TARGETS="RTEMS-beatnik@5:RTEMS-xilinx_zynq_a9_qemu@5:RTEMS-uC5282@5"
Seems to have built all 3 targets as I hoped it would, but during the cue.py prepare step it output this:
Configuring EPICS build system
EPICS Base build system set up for optimized build with shared (DLL) linking
Cross compiler RTEMS5 @ RTEMS-beatnik
Downloading RTEMS 5 cross compiler: beatnik-rtems5.tar.xz
/opt/rtems/5/bin/powerpc-rtems5-gcc --version
powerpc-rtems5-gcc (GCC) 7.5.0 20191114 (RTEMS 5, RSB 5 (3911854[46](https://github.com/anjohnson/pvDataCPP/actions/runs/10337027940/job/28613430850#step:5:49)2e7 modified), Newlib 7947581)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Cross compiler RTEMS5 @ RTEMS-xilinx_zynq_a9_qemu
Downloading RTEMS 5 cross compiler: xilinx_zynq_a9_qemu-rtems5.tar.xz
/opt/rtems/5/bin/arm-rtems5-gcc --version
arm-rtems5-gcc (GCC) 7.5.0 20191114 (RTEMS 5, RSB 5 (3911854462e7 modified), Newlib 7947581)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
/opt/rtems/5/bin/powerpc-rtems5-gcc --version
powerpc-rtems5-gcc (GCC) 7.5.0 20191114 (RTEMS 5, RSB 5 (3911854462e7 modified), Newlib 7947581)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Cross compiler RTEMS5 @ RTEMS-uC[52](https://github.com/anjohnson/pvDataCPP/actions/runs/10337027940/job/28613430850#step:5:55)82
Downloading RTEMS 5 cross compiler: uC5282-rtems5.tar.xz
/opt/rtems/5/bin/m68k-rtems5-gcc --version
m68k-rtems5-gcc (GCC) 7.5.0 20191114 (RTEMS 5, RSB 5 (39118[54](https://github.com/anjohnson/pvDataCPP/actions/runs/10337027940/job/28613430850#step:5:57)462e7 modified), Newlib 7947581)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
/opt/rtems/5/bin/arm-rtems5-gcc --version
arm-rtems5-gcc (GCC) 7.5.0 20191114 (RTEMS 5, RSB 5 (3911854462e7 modified), Newlib 7947[58](https://github.com/anjohnson/pvDataCPP/actions/runs/10337027940/job/28613430850#step:5:61)1)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
/opt/rtems/5/bin/powerpc-rtems5-gcc --version
powerpc-rtems5-gcc (GCC) 7.5.0 20191114 (RTEMS 5, RSB 5 (39118544[62](https://github.com/anjohnson/pvDataCPP/actions/runs/10337027940/job/28613430850#step:5:65)e7 modified), Newlib 7947581)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
So it downloaded each compiler just once, but ran the gcc --version commands for all of the installed cross-compilers in reverse order after installing each one.
It might be worth putting a check in the code when multiple RTEMS targets are built to ensure that they all specify the same RTEMS version. It's not possible to mix RTEMS versions in a single Base build tree.
- 主要语言
- Python
- 星标
- 8
- 派生
- 21
- 平均合并
- 13 小时 50 分钟
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
epics-base/ci-scripts 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 55/100
epics-base/ci-scripts#116 · 6 条评论 ·
-
难度 3/5 1-2 天 新手友好度 53/100
epics-base/ci-scripts#114 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 35/100
epics-base/ci-scripts#110 · 1 条评论 ·
-
enhancement help wanted
难度 2/5 1-3 小时 新手友好度 38/100
epics-base/ci-scripts#104 · 1 条评论 ·
-
MacOS cross-compiler installation可能重新可做 @ralphlange 于 176 天前认领,目前没有进行中的 PR。 未关闭
epics-base/ci-scripts#102 · 3 条评论 · 已指派 1 人 ·
查看 epics-base/ci-scripts 的全部 Issue
相似的 Issue
-
fuzz fuzz-unconfirmed
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
ready-for-agent
难度 2/5 1-3 小时 新手友好度 86/100
neilsh/stunt-reel#220 ·
维护者通常 1 天内回复
-
[Issue]: use_fp4_cache is accepted but ignored; the launcher always writes FP8 records可能已有人在做 @0z5a 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area: cli priority: p3 size: S type: bug
难度 2/5 1-3 小时 新手友好度 83/100
finos/open-resource-broker#757 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 6 天内回复