maintainer-feedback requested: [Bug 272173] graphics/opencv ATLAS knob cannot depend on cblas and cmake cannot find lapacke for this knob
Date: Sat, 24 Jun 2023 04:13:47 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team) <desktop@FreeBSD.org> for maintainer-feedback: Bug 272173: graphics/opencv ATLAS knob cannot depend on cblas and cmake cannot find lapacke for this knob https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272173 --- Description --- maybe fallout from my 13.2 update that I lost track of, but I thought I had this package while trying to get blender installed. Anyway, noticed cblas and atlas-math cannot coexist, cblas says things are broken, they clobber. after clearing this depend and checking the configure's output I noticed lapack wasn't being found, actually lapacke, so had to force its path using a CMAKE_ON with Atlas_CLAPACK_INCLUDE_DIR. opencv now builds with the ATLAS blas option selected. Its possible openblas maybe has this issue? not sure, worth a quick check, but I have no easy way to do that at the moment. it would def be using a different cmake variable though. maybe the openblas cmake routines check /usr/local/include/lapacke by default though too. the variable would seemingly be OpenBLAS_INCLUDE_DIR based on the OpenCVFindLAPACK.cmake routines that don't include the full path that was tripping up the Atlas routines in the same file.