Date: Thu, 03 Oct 2024 05:46:33 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 272173] graphics/opencv ATLAS knob cannot depend on cblas and cmake cannot find lapacke for this knob Message-ID: <bug-272173-39348-u0Ie5NcxKk@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-272173-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-272173-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272173 Jason E. Hale <jhale@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(deskto |maintainer-feedback+ |p@FreeBSD.org) | CC| |jhale@FreeBSD.org --- Comment #1 from Jason E. Hale <jhale@FreeBSD.org> --- (In reply to alt2600 from comment #0) Sorry for the delayed response. I'm working on updating opencv to 4.10.0 an= d am just trying to close some open PRs pertaining to it in the process. Do you have a particular reason for using atlas over openblas? The atlas project has been dead for many years and I was thinking of dropping support= for it in opencv. > Anyway, noticed cblas and atlas-math cannot coexist, cblas says things ar= e broken, they clobber. Once upon a time, math/cblas and math/atlas installed headers into the same place, but this doesn't seem to the case anymore after [1]. I think the CONFLICTS line in math/atlas/Makefile is a leftover and can be removed. Atl= as doesn't have an active maintainer, so these things can happen. > 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. This makes sense. The atlas-math package doesn't install a lapacke.h, so it wouldn't be found in Atlas_INCLUDE_SEARCH_PATHS. Atlas_CLAPACK_INCLUDE_DIR needs to be pointed to the lapacke.h installed by math/lapacke. > Its possible openblas maybe has this issue? Openblas installs its own cblas.h and lapacke.h which opencv detects and us= es. The BUILD_DEPENDS for cblas and lackpacke are ultimately unneeded/unused for the OPENBLAS option and will be removed in the 4.10.0 update. [1] https://cgit.freebsd.org/ports/commit/?id=3Dc2488a6020830af2cf09699b887adec= 7af806bf3 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272173-39348-u0Ie5NcxKk>