summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-01-10 22:14:14 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-01-10 22:14:55 +0100
commitba658e30c1e7f2c095391e06d2a77501253dcea2 (patch)
tree8c3128e88cbcc71caabbac29b88372ae37214bc2 /sci-libs
parentsys-kernel/gentoo-kernel-bin: Bump to 6.6.11 (diff)
downloadgentoo-ba658e30c1e7f2c095391e06d2a77501253dcea2.tar.gz
gentoo-ba658e30c1e7f2c095391e06d2a77501253dcea2.tar.bz2
gentoo-ba658e30c1e7f2c095391e06d2a77501253dcea2.zip
sci-libs/caffe2: fix XNNPACK configure
Closes: https://bugs.gentoo.org/921672 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/caffe2/caffe2-2.1.2-r2.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/sci-libs/caffe2/caffe2-2.1.2-r2.ebuild b/sci-libs/caffe2/caffe2-2.1.2-r2.ebuild
index 35989b1e2e70..f45e501e8567 100644
--- a/sci-libs/caffe2/caffe2-2.1.2-r2.ebuild
+++ b/sci-libs/caffe2/caffe2-2.1.2-r2.ebuild
@@ -159,6 +159,7 @@ src_configure() {
-DUSE_NNPACK=$(usex nnpack)
-DUSE_QNNPACK=$(usex qnnpack)
-DUSE_XNNPACK=$(usex xnnpack)
+ -DUSE_SYSTEM_XNNPACK=$(usex xnnpack)
-DUSE_TENSORPIPE=$(usex tensorpipe)
-DUSE_PYTORCH_QNNPACK=OFF
-DUSE_NUMPY=$(usex numpy)
@@ -166,12 +167,19 @@ src_configure() {
-DUSE_OPENCV=$(usex opencv)
-DUSE_OPENMP=$(usex openmp)
-DUSE_ROCM=OFF # TODO
+ -DUSE_SYSTEM_CPUINFO=ON
+ -DUSE_SYSTEM_PYBIND11=ON
-DUSE_UCC=OFF
-DUSE_VALGRIND=OFF
-DPYBIND11_PYTHON_VERSION="${EPYTHON#python}"
-DPYTHON_EXECUTABLE="${PYTHON}"
-DUSE_ITT=OFF
- -DUSE_SYSTEM_LIBS=ON
+ -DUSE_SYSTEM_PTHREADPOOL=ON
+ -DUSE_SYSTEM_FXDIV=ON
+ -DUSE_SYSTEM_FP16=ON
+ -DUSE_SYSTEM_GLOO=ON
+ -DUSE_SYSTEM_ONNX=ON
+ -DUSE_SYSTEM_SLEEF=ON
-DUSE_METAL=OFF
-Wno-dev