hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #07507
[Bug 1892420] [NEW] levmar uses BLAS when built with LAPACK, but Hugin does not link against BLAS
Public bug reported:
```
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.
** Affects: hugin
Importance: Undecided
Status: New
** Patch added: "hugin-2019.2-lapack-blas.patch"
https://bugs.launchpad.net/bugs/1892420/+attachment/5403244/+files/hugin-2019.2-lapack-blas.patch
--
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:
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
Follow ups
-
[Bug 1892420] Re: levmar uses BLAS when built with LAPACK, but Hugin does not link against BLAS
From: Bug Watch Updater, 2023-04-03
-
[Bug 1892420]
From: dilfridge, 2023-04-03
-
[Bug 1892420]
From: devurandom, 2020-08-23
-
[Bug 1892420]
From: devurandom, 2020-08-23
-
[Bug 1892420] Re: levmar uses BLAS when built with LAPACK, but Hugin does not link against BLAS
From: Dennis Schridde, 2020-08-22
-
[Bug 1892420] Re: levmar uses BLAS when built with LAPACK, but Hugin does not link against BLAS
From: tmodes, 2020-08-22
-
[Bug 1892420] Re: levmar uses BLAS when built with LAPACK, but Hugin does not link against BLAS
From: Dennis Schridde, 2020-08-22
-
[Bug 1892420] Re: levmar uses BLAS when built with LAPACK, but Hugin does not link against BLAS
From: tmodes, 2020-08-22
-
[Bug 1892420] Re: levmar uses BLAS when built with LAPACK, but Hugin does not link against BLAS
From: Bug Watch Updater, 2020-08-22
-
[Bug 1892420] Re: levmar uses BLAS when built with LAPACK, but Hugin does not link against BLAS
From: Dennis Schridde, 2020-08-22
-
[Bug 1892420] Re: levmar uses BLAS when built with LAPACK, but Hugin does not link against BLAS
From: Dennis Schridde, 2020-08-22
-
[Bug 1892420] Re: levmar uses BLAS when built with LAPACK, but Hugin does not link against BLAS
From: tmodes, 2020-08-21