public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Disable tests for now
@ 2026-08-28 13:31 Nicolas Chauvet
0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-08-28 13:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : add0af2a88eff3b1483c3bc0672790b0bf68a725
Author : Nicolas Chauvet <kwizart@gmail.com>
Date : 2021-03-31T15:12:29+02:00
Stats : +9/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/add0af2a88eff3b1483c3bc0672790b0bf68a725?branch=opencv5
Log:
Disable tests for now
---
diff --git a/opencv.spec b/opencv.spec
index 05df7f8..fda3980 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -1,5 +1,11 @@
%undefine __cmake_in_source_build
+# Tests are disabled with gcc-11
+# See https://bugzilla.redhat.com/1944536
+%if 0%{?fedora} > 33
+%bcond_with tests
+%else
%bcond_without tests
+%endif
%bcond_with ffmpeg
%bcond_without gstreamer
%bcond_with eigen2
@@ -280,6 +286,9 @@ install -pm 0644 %{SOURCE4} .cache/ade/
-DWITH_ITT=OFF \
-DWITH_QT=ON \
-DWITH_OPENGL=ON \
+%if ! %{with tests}
+ -BUILD_TESTS=OFF \
+%endif
-DOpenGL_GL_PREFERENCE=GLVND \
-DWITH_GDAL=ON \
-DWITH_OPENEXR=ON \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 13:31 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:31 [rpms/opencv] opencv5: Disable tests for now Nicolas Chauvet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox