public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Disable some altivec vectorization optimization on ppc64le (bug 2051193)
@ 2026-08-28 13:32 Mamoru TASAKA
0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-08-28 13:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : 10a0fa3a19817ba3e8ab76f2885809b775d30e9a
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date : 2022-02-13T22:42:00+09:00
Stats : +9/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/10a0fa3a19817ba3e8ab76f2885809b775d30e9a?branch=opencv5
Log:
Disable some altivec vectorization optimization on ppc64le (bug 2051193)
---
diff --git a/opencv.spec b/opencv.spec
index 1cfe8c9..ce4512b 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -50,7 +50,7 @@ Name: opencv
Version: 4.5.5
%global javaver %(foo=%{version}; echo ${foo//./})
%global abiver %(foo=%{version}; echo ${foo:0:3})
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Collection of algorithms for computer vision
# This is normal three clause BSD.
License: BSD
@@ -268,6 +268,11 @@ popd
mkdir -p .cache/ade
install -pm 0644 %{SOURCE4} .cache/ade/
+%ifarch ppc64le
+# Disable some altivec vectorization optimization on ppc64le (bug 2051193)
+sed -i modules/core/include/opencv2/core/hal/intrin.hpp \
+ -e '\@ifdef CV_FORCE_SIMD128_CPP@i #define CV_FORCE_SIMD128_CPP'
+%endif
%build
# enabled by default if libraries are presents at build time:
@@ -483,6 +488,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
%{_libdir}/libopencv_xphoto.so.%{abiver}*
%changelog
+* Sun Feb 13 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4.5.5-4
+- Disable some altivec vectorization optimization on ppc64le (bug 2051193)
+
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 4.5.5-3
- Rebuilt for java-17-openjdk as system jdk
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 13:32 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:32 [rpms/opencv] opencv5: Disable some altivec vectorization optimization on ppc64le (bug 2051193) Mamoru TASAKA
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox