All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-arago][master][PATCH] onnx: fix do_install SOABI suffix for CMake 4.4+
@ 2026-10-05  9:02 Telukula Jeevan Kumar Sahu
  2026-10-05  9:24 ` PRC Automation
  0 siblings, 1 reply; 2+ messages in thread
From: Telukula Jeevan Kumar Sahu @ 2026-10-05  9:02 UTC (permalink / raw)
  To: meta-arago; +Cc: Ryan Eatmon, Denys Dmytriyenko

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(-)

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-05  9:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-05  9:02 [meta-arago][master][PATCH] onnx: fix do_install SOABI suffix for CMake 4.4+ Telukula Jeevan Kumar Sahu
2026-10-05  9:24 ` PRC Automation

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.