Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: compiler/xt-clang: add -Wno-unknown-warning-option #84176

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dcpleung
Copy link
Member

xt-clang is usually based on older version of clang, and Zephyr main targets more recent versions. Because of this, some newer compiler flags may cause warnings where twister would mark as test being failed. To workaround that, add -Wno-unknown-warning-option to suppress those warnings.

Fixes #84138

xt-clang is usually based on older version of clang, and
Zephyr main targets more recent versions. Because of this,
some newer compiler flags may cause warnings where twister
would mark as test being failed. To workaround that,
add -Wno-unknown-warning-option to suppress those warnings.

Fixes zephyrproject-rtos#84138

Signed-off-by: Daniel Leung <[email protected]>
@thughes
Copy link
Contributor

thughes commented Jan 17, 2025

some newer compiler flags may cause warnings where twister would mark as test being failed.

I don't have access to xt-clang, but note that upstream clang doesn't have the warning that is failing in #84138. If that's the only warning, it will be fixed by thughes@67c4390 in #84065.

@dcpleung
Copy link
Member Author

In that case, I will wait a bit to see if the other PR is going forward. However, the compiler warning is blocking our internal CI and preventing us from testing on latest Zephyr.

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.

intel_adsp: xt-clang: unknown warning group -Wunknown-warning-option.
2 participants