-
Notifications
You must be signed in to change notification settings - Fork 899
IPP IW source is now fixed, but still can't be used #138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Atomics were introduced in C++11 and to my understanding the compiler in manylinux1 images supports C++11. Maybe some compiler flag is required to enable it. |
Judging by the source of I'll try the latter now. |
Oh, yes, with |
For C++11 support in OpenCV consider using of "ENABLE_CXX11=ON" CMake variable (for OpenCV 3.x, OpenCV 4.0 requires/enables C++11 by default). |
Okay, I've got OpenMP running:
The cmake 3.9 installation is not present in the stock
However, after all this, the warning no longer appears but the above-mentioned tests still fail :\ |
Yes, I have updated Cmake in the extended manylinux1 images because there were issues with the Cmake version in the stock images (related to opencv contrib builds). Maybe OpenCV devs can help with the failing tests. Unfortunately I don't have experience with the IPP + OpenMP combo. |
In the meanwhile, I tried to compile it with GCC 4.9.4 (the last 4.x release), too. Same problem. When I ran tests on the GCC itself, tests connected with In Fedora 28 (GCC 8.2.1) and MacOS 10.13.6 (Clang clang-1000.10.44.4), tests pass. This suggests a problem with GCC 4. |
Unfortunately GCC cannot be (easily) upgraded due to the manylinux1 requirements, see pypa/manylinux#118. Manylinux2 could maybe help (https://github.com/pypa/manylinux/pull/152/files#r165837491) but the development seems to be stalled due to lack of developers. |
As a side note, CMake's OpenMP search logic was fixed in |
It is likely possible to adapt the Alternatively, there's |
For now, I'll just change the comment in I've already spent more than reasonable effort on this, so I'm going to call it a day. |
Thank you for your efforts. I really appreciate the work you have put into opencv-python. |
Hi all, does this mean that the latest wheel on pip (4.2.0.32 as of this time) does not support IPP? what does this mean for AVX2 and SSE4.x? Are these instructions sets still used when IPP is turned off? |
Uh oh!
There was an error while loading. Please reload this page.
Expected behaviour
opencv/opencv#10411 has been fixed since 3.4.2 (but they only notified me now).
So I tried to re-enable the IPP library in
manylinux1
build.Actual behaviour
Warning during compilation:
Running OpenCV test suite does show additional failures in
imgproc
suite.Steps to reproduce
BUILD_TESTS=OFF
andWITH_IPP=OFF
fromcmake_args
insetup.py
sudo bash
(root rights are needed to run Docker commands)(omit
-t <...>
to run all tests)CentOS 7 x64
master
The text was updated successfully, but these errors were encountered: