meta-digi/meta-digi-dey/dynamic-layers
Gabriel Valcazar 637bb9dbbe x-linux-ai: stai-mpu: don't pull in dependencies for unused packages
stai-mpu provides a common ML API for stm32mpu platforms, allowing applications
to use different inference frameworks without changing any code. Its packages
consist of pre-built libraries that are in charge of interfacing with the
three supported frameworks (tflite, onnx and openvx).

While it's possible to install only a subset of these libraries to limit the
supported frameworks on the target device, all libraries are packaged
unconditionally at build-time, pulling in the dependencies of all three
frameworks. In our case, this pulls in onnxruntime dependencies even though we
only install the tflite and openvx packages in our ccmp25 images. This tends to
cause out-of-memory errors when onnxruntime is built at the same time as other
large packages, such as opencv and wpewebkit.

Since most of these dependencies are already present at a higher level in the
x-linux-ai packagegroup recipes, remove them from the stai-mpu recipe and skip
the runtime dependency QA checks to be able to build the packages without their
respective frameworks. In the case of the ccmp25-dvk, this has no effect on the
final image contents, but it prevents onnxruntime from being built for no
reason.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-31 13:41:02 +01:00
..
freescale-layer weston: revert Solid Color Support 2025-01-28 11:56:54 +01:00
imx-machine-learning imx-machine-learning: onnxruntime: fix compilation error 2025-01-08 15:32:20 +01:00
qt5-layer dey: cosmetic, mark patches as DEY specific 2024-10-22 15:48:00 +02:00
qt6-layer qt6: add qt6 support for the ccmp25-dvk 2025-01-22 18:00:27 +01:00
selinux dey: cosmetic, mark patches as DEY specific 2024-10-22 15:48:00 +02:00
webkit ccmp25: x-linux-ai: create custom ML packagegroup for webkit images 2025-01-31 13:41:01 +01:00
x-linux-ai x-linux-ai: stai-mpu: don't pull in dependencies for unused packages 2025-01-31 13:41:02 +01:00