commit: b38f4eb8d5464f99182d356e4941bea648ec5b3f Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sat Nov 11 16:20:03 2023 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sat Nov 11 16:21:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38f4eb8
sci-libs/onnx: add ONNX_USE_LITE_PROTO=ON Closes: https://bugs.gentoo.org/915843 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> sci-libs/onnx/onnx-1.14.0-r2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sci-libs/onnx/onnx-1.14.0-r2.ebuild b/sci-libs/onnx/onnx-1.14.0-r2.ebuild index 7fcd28a9355b..f3f43c3fddd3 100644 --- a/sci-libs/onnx/onnx-1.14.0-r2.ebuild +++ b/sci-libs/onnx/onnx-1.14.0-r2.ebuild @@ -41,8 +41,9 @@ src_prepare() { } src_configure() { - local mycmakeargs=( + mycmakeargs=( -DONNX_USE_PROTOBUF_SHARED_LIBS=ON + -DONNX_USE_LITE_PROTO=ON ) cmake_src_configure use python && distutils-r1_src_configure @@ -50,7 +51,7 @@ src_configure() { src_compile() { cmake_src_compile - use python && distutils-r1_src_compile + use python && CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile } src_install() {