Skip to content

Conversation

@koenkooi
Copy link
Contributor

This recipe needs a better place, but, for now, put it in meta-qcom.

Tflite supports 2 buildsystems: bazel and cmake, the IMSDK recipes use cmake but only support up to 2.16.x and the Windriver recipes use bazel, but only support up to 2.19.x. Tflite 2.20 needs a more recent bazel version, which in turns needs a more recent JDK. Neither the meta-java recipes nor the meta-aws prebuilts work, so we're stuck with cmake.

Since cmake is in OE-core and we don't care about the non-lite tensorflow, the only dependency left is a specific flatbuffers release.

This was only build tested during the San Diego sprint.

Tensorflow-lite needs an extremely specific flatbuffers release, 2.20
needs 24.3.25. Lock the version to that.

Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com>
This is a combination of the 2.16.x IMSDK and 2.19.x Windriver recipes.
The recipe should not be in a BSP layer, but it's the least bad place,
for now.

Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com>
@koenkooi koenkooi self-assigned this Dec 19, 2025
@koenkooi koenkooi marked this pull request as draft December 19, 2025 15:15
@lumag
Copy link
Contributor

lumag commented Dec 19, 2025

There is already meta-tensorflow. The commit message should at least explain, why we write our own recipes.

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