hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #07516
[Bug 1892420]
Upstream played the ball back into our court:
> I checked the build system. Our FindPackage(LAPACK) does already search
> for the blas libraries. So maybe you are using a slightly different name
> of the BLAS library (other implementation) so that CMake does not pick
> up this variant. So the easiest way to fix would be to update
> CMakeModules/FindLAPACK.cmake for this BLAS variant.
Gentoo removes that FindLAPACK.cmake file during src_prepare, probably
because a file of the same name is provided by CMake itself.
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1892420
Title:
levmar uses BLAS when built with LAPACK, but Hugin does not link
against BLAS
Status in Hugin:
Invalid
Status in hugin package in Gentoo Linux:
New
Bug description:
```
hugin-2019.2.0/src/foreign/levmar/misc_core.c:45:#define GEMM LM_MK_BLAS_NAME(gemm)
```
This function is a BLAS function:
https://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms#Level_3
Thus, since levmar is built as a static library, Hugin itself should
call `find_package(BLAS)` and `huginbase` should link against
`BLAS_LIBRARIES`.
Attached patch fixes this (in an admittedly slightly crude way) for
me.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1892420/+subscriptions
References