-
Notifications
You must be signed in to change notification settings - Fork 7k
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
samples: modules: thrift: Add newlib filter to samples.yaml #57097
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will block this until #54637 is merged since that PR introduces a new way of filtering by full libc availability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - reminds me to try out picolibc. I don't think it was as ready when we initially introduced this feature.
Does this test just need |
@galak - please revisit the pr mentioned above by Stephanos |
@galak - minor changes needed here |
@@ -1,12 +1,10 @@ | |||
# CONFIG_LIB_CPLUSPLUS Dependencies | |||
CONFIG_NEWLIB_LIBC=y | |||
CONFIG_NEWLIB_LIBC_NANO=n | |||
CONFIG_REQUIRES_FULL_LIBCPP=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might even be better to move this to select REQUIRES_FULL_LIBCPP
in modules/thrift/Kconfig
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wish there were an ISO C code generator upstream (instead of the one that depends on glib)
LGTM other than the one suggestion above. Filters are good as well - that will speed up CI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#57445 has been merged. Needs a rebase.
Change sample to set CONFIG_FULL_LIBCPP_REQUIRED and to filter on CONFIG_FULL_LIBCPP_SUPPORTED. Since not all toolchains provide a full libc++ this will restrict the sample only to those environments that do. Signed-off-by: Kumar Gala <[email protected]>
rebased, removed DNM. |
Not all toolchains support newlib so tests that require newlib need to have a filter to we don't try and build those tests on those testcases. Add the following to samples.yaml to handle the issue: