| Message ID | 20261005090207.855638-1-j-sahu@ti.com |
|---|---|
| State | Under Review |
| Delegated to: | Ryan Eatmon |
| Headers | show |
| Series | [meta-arago,master] onnx: fix do_install SOABI suffix for CMake 4.4+ | expand |
meta-arago / na / 20261005090207.855638-1-j-sahu PRC Results: PASS ========================================================= check-yocto-patches: PASS ========================================================= Patches ---------------------------------------- All patches passed ========================================================= apply-yocto-patch: PASS ========================================================= master ===================== Summary: - Patch Series: [meta-arago][master][PATCH] onnx: fix do_install SOABI suffix for CMake 4.4+ - Submitter: From: Telukula Jeevan Kumar Sahu <j-sahu@ti.com> - Date: Date: Mon, 5 Oct 2026 14:32:07 +0530 - Num Patches: 1 - Mailing List (public inbox) Commit SHA: 9b92587e98377dbba3a58b762ca7ada597a0d1f1 Applied to: - Repository: lcpd-prc-meta-arago - Base Branch: master-wip - Commit Author: Ryan Eatmon <reatmon@ti.com> - Commit Subject: arago.conf: Remove "x11" requirement for mesa-demos - Commit SHA: 2a226d3d7228e03f9fa9e944728161e26a872e82 Patches ---------------------------------------- All patches applied ========================================================= check-yocto-repo: PASS ========================================================= master ===================== PASS ========================================================= yocto-check-layers: PASS ========================================================= master - PASS ===================== All checks passed
diff --git a/meta-arago-extras/recipes-framework/onnx/onnx_1.18.0.bb b/meta-arago-extras/recipes-framework/onnx/onnx_1.18.0.bb index 7d27119d..78d2e1d3 100644 --- a/meta-arago-extras/recipes-framework/onnx/onnx_1.18.0.bb +++ b/meta-arago-extras/recipes-framework/onnx/onnx_1.18.0.bb @@ -92,7 +92,7 @@ do_install:append() { install -d ${D}${PYTHON_SITEPACKAGES_DIR}/onnx (cd ${S}/onnx; cp --parents $(find . -name "*.py*") ${D}${PYTHON_SITEPACKAGES_DIR}/onnx) cp $CP_ARGS ${B}/onnx ${D}${PYTHON_SITEPACKAGES_DIR} - cp $CP_ARGS ${B}/onnx_cpp2py_export.so ${D}${PYTHON_SITEPACKAGES_DIR}/onnx + cp $CP_ARGS ${B}/onnx_cpp2py_export*.so ${D}${PYTHON_SITEPACKAGES_DIR}/onnx fi }
CMake 4.4's FindPython3 correctly implements PEP 3149 SOABI naming for cross-compiled Python extensions[0]. Python3_add_library(WITH_SOABI) now generates the proper ABI suffix (e.g., cpython-314-aarch64-linux-gnu.so) instead of bare .so which causes build failures. Use wildcard pattern to match any SOABI-suffixed filename. [0]: https://cmake.org/cmake/help/v4.4/module/FindPython3.html Signed-off-by: Telukula Jeevan Kumar Sahu <j-sahu@ti.com> --- meta-arago-extras/recipes-framework/onnx/onnx_1.18.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)