meta-digi/meta-digi-arm/conf
Gabriel Valcazar 99134ca87c imx-digi-base.inc: Set generic tuning for i.MX8/i.MX9
This replicates meta-imx commit addc08b02f9a, which was added to be able to
re-use packages in i.MX8/i.MX9 builds. Without this change, there are
compilation errors when building recent versions of the onnxruntime package
because some .S files are built with specific -march switches that conflict
with our current tunings. For example, when building for the ccimx8x-sbc-pro:

    cc1: error: switch '-mcpu=cortex-a35+crc+crypto' conflicts with '-march=armv8.2-a+fp16' switch [-Werror]
    [...]HalfGemmKernelNeon.S:151: Error: selected processor does not support `fmla v20.8h,v16.8h,v0.h[0]'

Using the generic tuning solves this issue, and according to the log in the
original meta-imx commit, this has minimal to no impact on binaries, so use
said tuning in all relevant platforms.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-01-07 13:09:28 +01:00
..
machine imx-digi-base.inc: Set generic tuning for i.MX8/i.MX9 2025-01-07 13:09:28 +01:00
templates Add meta-multimedia layer to all platforms capable of running dey-image-webkit 2024-10-17 13:03:37 +02:00
layer.conf layer.conf: reflect change in meta-st-x-linux-ai BBFILE_COLLECTIONS name 2024-10-17 13:03:37 +02:00