add comment with more information about the workaround on ppc64le

epel9
Sérgio M. Basto 3 years ago
parent 10a0fa3a19
commit a17785dfcd

@ -270,6 +270,9 @@ install -pm 0644 %{SOURCE4} .cache/ade/
%ifarch ppc64le %ifarch ppc64le
# Disable some altivec vectorization optimization on ppc64le (bug 2051193) # Disable some altivec vectorization optimization on ppc64le (bug 2051193)
# Workaround is to force defining CV_FORCE_SIMD128_CPP on ppc64le so as NOT to use intrin_vsx.hpp .
# https://github.com/opencv/opencv/issues/21465
# https://github.com/opencv/opencv/issues/19020
sed -i modules/core/include/opencv2/core/hal/intrin.hpp \ sed -i modules/core/include/opencv2/core/hal/intrin.hpp \
-e '\@ifdef CV_FORCE_SIMD128_CPP@i #define CV_FORCE_SIMD128_CPP' -e '\@ifdef CV_FORCE_SIMD128_CPP@i #define CV_FORCE_SIMD128_CPP'
%endif %endif

Loading…
Cancel
Save