diff --git a/sci-ml/onnx/onnx-1.20.0.ebuild b/sci-ml/onnx/onnx-1.20.0.ebuild index 3f2d90b2229e..93612ebdf18f 100644 --- a/sci-ml/onnx/onnx-1.20.0.ebuild +++ b/sci-ml/onnx/onnx-1.20.0.ebuild @@ -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 }