public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Fixup disable 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 : 566a1c2362fbd858e8e7d70e734f582440e025be
Author : Nicolas Chauvet <kwizart@gmail.com>
Date   : 2025-10-17T10:19:52+02:00
Stats  : +4/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/566a1c2362fbd858e8e7d70e734f582440e025be?branch=opencv5

Log:
Fixup disable eigen3 on i686

---
diff --git a/opencv.spec b/opencv.spec
index 65aa100..e435249 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -10,15 +10,14 @@
 %bcond_without  ffmpeg
 %bcond_without  gstreamer
 %bcond_with     eigen2
-%bcond_without  eigen3
 # 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
-%if 0%{?fedora} > 43
 %ifarch i686
-%global __without_eigen3 1
-%endif
+%bcond_with  eigen3
+%else
+%bcond_without  eigen3
 %endif
 %bcond_without  opencl
 %ifarch x86_64 %{arm}
@@ -502,6 +501,7 @@ 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: Fixup disable 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