Message ID | 20250312150824.6579-6-reatmon@ti.com |
---|---|
State | New |
Headers | show |
Series | Add COMPATIBLE_MACHINEs | expand |
diff --git a/meta-arago-extras/recipes-framework/onnxruntime/onnxruntime_1.20.1.bb b/meta-arago-extras/recipes-framework/onnxruntime/onnxruntime_1.20.1.bb index 7e810739..bee649cb 100644 --- a/meta-arago-extras/recipes-framework/onnxruntime/onnxruntime_1.20.1.bb +++ b/meta-arago-extras/recipes-framework/onnxruntime/onnxruntime_1.20.1.bb @@ -32,6 +32,12 @@ SRCREV_nsync = "13de152c2a1cd73ff4df97bd2c406b6d15d34af3" S = "${WORKDIR}/git" +# Only compatible with armv7a, armv7ve, and aarch64 +COMPATIBLE_MACHINE = "(^$)" +COMPATIBLE_MACHINE:aarch64 = "(.*)" +COMPATIBLE_MACHINE:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon","(.*)","(^$)",d)}" +COMPATIBLE_MACHINE:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon","(.*)","(^$)",d)}" + DEPENDS += "\ onnx \ abseil-cpp \
The arm_compute_library has a COMPATIBLE_MACHINE setting that limits this to just armv7a and aarch64. Since this package depends on it, we need the same settings. Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- .../recipes-framework/onnxruntime/onnxruntime_1.20.1.bb | 6 ++++++ 1 file changed, 6 insertions(+)