Skip to content

Add qemu_x86_64 to Zephyr CI - #1788

Open
Bhoumik Patidar (BhoumikPatidar) wants to merge 1 commit into
qualcomm:mainfrom
BhoumikPatidar:add-x86_64-zephyr-workflow
Open

Add qemu_x86_64 to Zephyr CI#1788
Bhoumik Patidar (BhoumikPatidar) wants to merge 1 commit into
qualcomm:mainfrom
BhoumikPatidar:add-x86_64-zephyr-workflow

Conversation

@BhoumikPatidar

Copy link
Copy Markdown
Contributor

Adds x86_64 as a sixth board. It builds with GCC from the Zephyr SDK.

Adds toolchain input to zephyr-run.yml, defaulting to cpullvm for existing backends and a qemu_x86_64 backend using GCC from the Zephyr SDK. Adds a step applying KEEP rules to Zephyr's linker scripts for the C++ exception tables, to be dropped once they land upstream

Also adds --retry-failed for flaky tests and --personal-access-token to avoid GitHub API rate limits.

Adds toolchain input to zephyr-run.yml, defaulting to cpullvm for existing backends
and a qemu_x86_64 backend using GCC from the Zephyr SDK.
Adds a step applying KEEP rules to Zephyr's linker scripts for the C++ exception tables,
to be dropped once they land upstream

Also adds --retry-failed for flaky tests and --personal-access-token to avoid GitHub API
rate limits.

Signed-off-by: Bhoumik Patidar <bpatidar@qti.qualcomm.com>

@quic-areg quic-areg 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.

How does this work without upstream eld build support with GCC?

-x=CONFIG_LLVM_USE_ELD=y \
-x=CONFIG_COMPILER_RT_RTLIB=y \
--retry-failed 2 \
--retry-interval 10 \

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.

Should we quarantine these tests instead? My concern is that an intermittent linker failure could still produce a green result and we know about it. Runtime might also be a concern currently since the builds are close to the 6h gh limit.

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.

How long does this take ?

I think the retry is needed even with bfd.

@quic-seaswara

Copy link
Copy Markdown
Contributor

How does this work without upstream eld build support with GCC?

are you referring to using clang instead of gcc ?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants