Skip to content

[Build] : fix detection of standard threading model support by the toolchain#653

Merged
GwnDaan merged 2 commits intoOpen-Agriculture:mainfrom
VzdornovNA88:hotfix/Automated_build_for_testing_no_threads_641
Dec 27, 2025
Merged

[Build] : fix detection of standard threading model support by the toolchain#653
GwnDaan merged 2 commits intoOpen-Agriculture:mainfrom
VzdornovNA88:hotfix/Automated_build_for_testing_no_threads_641

Conversation

@VzdornovNA88
Copy link
Contributor

@VzdornovNA88 VzdornovNA88 commented Dec 23, 2025

In accordance with issue #652 , I changed the method of detecting support for the standard threading model, as well as added fake sources to the target paths for examples that, in my opinion, were missed.

Fixes #652

I tested this locally with #647 (with locally installed gcc 10 for arm and clang 13 for arm) and another locally installed gcc 13 toolchain for x86_64 (ubuntu 20.04).

It should be understood that I tested switching between toolchains and the correct state of the CAN_STACK_DISABLE_THREADS flag after configuring the build, the important point is that I do not pass this parameter to the command as a user settings, otherwise the whole check will be meaningless. As for the paths to the fake sources, here I checked for the presence of the main error in the build, which we ourselves defined in these sources.

@VzdornovNA88
Copy link
Contributor Author

@GwnDaan, please review this changes when you have a time, thank you. Thanks for any questions and additions.

@VzdornovNA88 VzdornovNA88 force-pushed the hotfix/Automated_build_for_testing_no_threads_641 branch from 1e3a7ed to 7302537 Compare December 23, 2025 18:33
Copy link
Member

@GwnDaan GwnDaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks

@GwnDaan GwnDaan merged commit 05e5fd7 into Open-Agriculture:main Dec 27, 2025
10 checks passed
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.

[Build]: Automated build for testing no threads (#641) doesn't do the job well

2 participants