Fix build error with cv::v_mul when OpenCV >= 4.9 && < 4.11 on exotic platforms #1607
+10
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Try to fix #1606
OpenCV HAL API for v_mul is available for all the platforms only starting from 4.11: https://docs.opencv.org/4.11.0/df/d91/group__core__hal__intrin.html#gaaa56a561e899888ef65fc2c2e258b892
So between >= 4.9 and < 4.11 we should be able to use OpenCV HAL only with regular architectures: X86 or ARM64
General configurations:
Build is OK for "amd64 3.6.0-4 Installed 13d 3h 37m x86-ubc-01"
Build is OK for "arm64 3.6.0-4 Installed 13d 2h 37m arm-ubc-01"
Builds are NOK for:
armel
armhf
mips64el
riscv64
s390x
Build is NOK for "s390x 3.6.0-4 Build-Attempted 11d 2h 21m zani"