public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Reduce optimization 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 : 6e87dd17aff34c8ff5ea75f6a5a372d3e07b9ee7
Author : Nicolas Chauvet <kwizart@gmail.com>
Date : 2025-10-17T20:08:41+02:00
Stats : +4/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/6e87dd17aff34c8ff5ea75f6a5a372d3e07b9ee7?branch=opencv5
Log:
Reduce optimization on i686
This avoid the case where some AVX code is used while not been available
for x86_64 like with eigen3
---
diff --git a/opencv.spec b/opencv.spec
index 10774e0..3a349d7 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -488,6 +488,10 @@ install -pm 0644 %{S:4} .cache/ade/
-DWITH_CAROTENE=OFF \
%ifarch x86_64 %{ix86}
-DCPU_BASELINE=SSE2 \
+%ifarch %{ix86}
+ -DCV_DISABLE_OPTIMIZATION=ON \
+ -DCPU_DISPATCH=SSE4.2 \
+%endif
%endif
-DCMAKE_BUILD_TYPE=Release \
%{?with_java: -DBUILD_opencv_java=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: Reduce optimization 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