# diff -ruN /var/db/repos/gentoo/media-libs/opencv/opencv-4.8.0-r1.ebuild opencv-4.8.0-r1.ebuild --- /var/db/repos/gentoo/media-libs/opencv/opencv-4.8.0-r1.ebuild 2023-08-26 05:23:31.094654526 -0000 +++ opencv-4.8.0-r1.ebuild 2023-08-27 01:16:04.427288476 -0000 @@ -490,17 +490,17 @@ # ================================================== # cpu flags, should solve 633900 #=================================================== - local CPU_BASELINE="" - for i in "${CPU_FEATURES_MAP[@]}" ; do - if [[ ${ABI} != x86 || ${i%:*} != "cpu_flags_x86_avx2" ]]; then # workaround for Bug 747163 - use ${i%:*} && CPU_BASELINE="${CPU_BASELINE}${i#*:};" - fi - done + #local CPU_BASELINE="" + #for i in "${CPU_FEATURES_MAP[@]}" ; do + # if [[ ${ABI} != x86 || ${i%:*} != "cpu_flags_x86_avx2" ]]; then # workaround for Bug 747163 + # use ${i%:*} && CPU_BASELINE="${CPU_BASELINE}${i#*:};" + # fi + #done GLOBALCMAKEARGS+=( -DOPENCV_CPU_OPT_IMPLIES_IGNORE=ON - -DCPU_BASELINE=${CPU_BASELINE} - -DCPU_DISPATCH= + #-DCPU_BASELINE=${CPU_BASELINE} + #-DCPU_DISPATCH= ) # ===================================================