Skip to content

Conversation

@zboszor
Copy link
Contributor

@zboszor zboszor commented Nov 21, 2025

Sometimes the build fails because generated headers that do not exist yet are used by sources.

Added a patch to move the headers generated by flatc into normal dependencies from "order-only" dependencies.

==================================

Tested with a 16-core 32-thread AMD Ryzen AI MAX+. I have run this 10 times without a build failure:

bitbake -c clean libedgetpu-max ; bitbake libedgetpu-max

and also as part of a packagegroup or image, so it was run in parallel with 20+ other recipes.

Previously the build failed sporadically due to executable/executable_generated.h not existing yet, then the retry succeeded without cleaning up the build.

Sometimes the build fails because generated headers that do not
exist yet are used by sources.

Added a patch to move the headers generated by flatc into
normal dependencies from "order-only" dependencies.

Signed-off-by: Zoltán Böszörményi <[email protected]>
@NobuoTsukamoto NobuoTsukamoto merged commit d237dc9 into NobuoTsukamoto:main Nov 21, 2025
2 of 17 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.

2 participants