public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Revert disabling eigen3 on i686
@ 2026-08-28 13:33 Nicolas Chauvet
  0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-08-28 13:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/opencv
            Branch : opencv5
            Commit : a3c6808be9f722894e561578d8034fe471a0fdcd
            Author : Nicolas Chauvet <kwizart@gmail.com>
            Date   : 2025-10-17T20:08:33+02:00
            Stats  : +0/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/opencv/c/a3c6808be9f722894e561578d8034fe471a0fdcd?branch=opencv5

            Log:
            Revert disabling eigen3 on i686

This disable some modules, so fix it another way instead

---
diff --git a/opencv.spec b/opencv.spec
index 12e3520..10774e0 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -10,15 +10,7 @@
 %bcond_without  ffmpeg
 %bcond_without  gstreamer
 %bcond_with     eigen2
-# Disable eigen3 on i686 for now
-# /usr/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h:2837:10: error: ‘_mm_cvtsi64_si128’ was not declared in this scope; did you mean ‘_mm_cvtsi64_si32’?
-# only available on x86_64
-# https://github.com/gcc-mirror/gcc/blob/4a3895903c29ed85da6fcb886f31ff23d4c6e935/gcc/config/i386/emmintrin.h#L228C1-L234
-%ifarch i686
-%bcond_with  eigen3
-%else
 %bcond_without  eigen3
-%endif
 %bcond_without  opencl
 %ifarch x86_64 %{arm}
 %bcond_without  openni
@@ -141,7 +133,6 @@ BuildRequires:  pkgconfig(cufft-%{?_cuda_version})
 BuildRequires:  pkgconfig(nppc-%{?_cuda_version})
 %{?with_dnn_cuda:BuildRequires: libcudnn8-devel}
 }
-%{?with_eigen2:BuildRequires:  eigen2-devel}
 %{?with_eigen3:BuildRequires:  eigen3-devel}
 BuildRequires:  libtheora-devel
 BuildRequires:  libvorbis-devel
@@ -504,7 +495,6 @@ install -pm 0644 %{S:4} .cache/ade/
  %{!?with_java: -DBUILD_opencv_java=OFF } \
  %{?with_tbb: -DWITH_TBB=ON } \
  %{!?with_gstreamer: -DWITH_GSTREAMER=OFF } \
- %{!?with_eigen3: -DWITH_EIGEN=OFF } \
  %{!?with_ffmpeg: -DWITH_FFMPEG=OFF } \
  %{?with_cuda: \
  -DWITH_CUDA=ON \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-28 13:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 13:33 [rpms/opencv] opencv5: Revert disabling eigen3 on i686 Nicolas Chauvet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox