sci-ml/onnx: fix build on multiple python target

Closes: https://bugs.gentoo.org/967468
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone 2025-12-20 23:29:49 +01:00
parent 24d875dc37
commit 2aa8da207b
No known key found for this signature in database
GPG Key ID: FBE5925C5B02CE58

View File

@ -53,6 +53,7 @@ python_compile() {
"${mycmakeargs[@]}"
-Dnanobind_DIR="$(python_get_sitedir)/nanobind/cmake"
)
rm -rf .setuptools-cmake-build
CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_python_compile
}