summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-07-02 18:20:27 +0200
committerAlfredo Tupone <tupone@gentoo.org>2022-07-02 18:20:27 +0200
commitf5f020cc9a1d2505c5482637a2a95d85566aaa78 (patch)
treeba64d3b4fc88fc8213347e0aead52c2c923024fe /sci-libs/caffe2
parentdev-perl/Apache-Test: add 1.430.0 (diff)
downloadgentoo-f5f020cc9a1d2505c5482637a2a95d85566aaa78.tar.gz
gentoo-f5f020cc9a1d2505c5482637a2a95d85566aaa78.tar.bz2
gentoo-f5f020cc9a1d2505c5482637a2a95d85566aaa78.zip
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@gentoo.org>
Diffstat (limited to 'sci-libs/caffe2')
-rw-r--r--sci-libs/caffe2/caffe2-1.11.0-r1.ebuild4
1 files 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
}