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 <[email protected]> --- meta-arago-extras/recipes-framework/onnx/onnx_1.18.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17732): https://lists.yoctoproject.org/g/meta-arago/message/17732 Mute This Topic: https://lists.yoctoproject.org/mt/121588183/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
