-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
-
-
AP Sprint 19, DP Sprint 20
At the moment opencv-python-headless is constrained to <=4.11.0.86, the reason for this was bug in fromager (AIPCC-3340, upstream issue 655). The issue was recently fixed in fromager (upstream pull-request 775).
opencv-python-headless 4.12.0.88 includes OpenCV 4.12 which introduced changes to opencv/cmake/OpenCVFindOpenBLAS.txt and opencv/cmake/OpenCVFindLAPACK.txt. On Fedora/RHEL, these changes prevent OpenCV from linking to the OpenBLAS library (CMake fails to find the cblas.h header, resulting in a build without LAPACK support). While the package otherwise builds fine in the builder, missing LAPACK support is undesirable from performance standpoint.
To build opencv-python-headless with LAPACK support and remove version constraint we'll need to:
- patch it in the builder so CMake can locate cblas.h,
- patch it to link against libopenblasp.so from openblas-threads instead of libopenblas.so from openblas-serial (see
AIPCC-4466and its epic for similar work), - open pull requests to upstream both patches to OpenCV.
- incorporates
-
AIPCC-4418 Upstream OpenCV patch to build with openblasp
-
- Closed
-