commit: f5f020cc9a1d2505c5482637a2a95d85566aaa78 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sat Jul 2 16:20:27 2022 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sat Jul 2 16:20:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f020cc
sci-libs/caffe2: fix configure for xnnpack Closes: https://bugs.gentoo.org/855860 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> sci-libs/caffe2/caffe2-1.11.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-libs/caffe2/caffe2-1.11.0-r1.ebuild b/sci-libs/caffe2/caffe2-1.11.0-r1.ebuild index 137c5df60ebe..d48fb9082441 100644 --- a/sci-libs/caffe2/caffe2-1.11.0-r1.ebuild +++ b/sci-libs/caffe2/caffe2-1.11.0-r1.ebuild @@ -55,7 +55,6 @@ src_configure() { python_setup local mycmakeargs=( -DUSE_KINETO=OFF - -DUSE_XNNPACK=$(usex xnnpack ON OFF) -DUSE_SYSTEM_SLEEF=ON -DUSE_BREAKPAD=OFF -DUSE_SYSTEM_ONNX=ON @@ -79,8 +78,9 @@ src_configure() { -DLIBSHM_INSTALL_LIB_SUBDIR=/usr/$(get_libdir) -DUSE_CCACHE=OFF -DUSE_SYSTEM_PTHREADPOOL=ON - -DUSE_SYSTEM_XNNPACK=ON -DUSE_SYSTEM_FXDIV=ON + -DUSE_XNNPACK=$(usex xnnpack ON OFF) + -DUSE_SYSTEM_XNNPACK=$(usex xnnpack ON OFF) ) cmake_src_configure }