Summary: | dev-util/cmake-3.11.0: Incompatible FindBLAS.cmake module, BLAS_LIBRARIES contains "PkgConfig::PKGC_BLAS" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthias Maier <tamiko> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | account-removed-b7bdd2862f47, frp.bissey, grozin, heluani, Martin.vGagern, polynomial-c |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gitlab.kitware.com/cmake/cmake/issues/17934 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 668020 |
Description
Matthias Maier
![]() Reference upstream bug report. It is not the only problem. https://github.com/gentoo/sci/issues/878 tl;dr CMakeList.txt for cblas-reference and lapack-reference (same source) rely on the variable `BLAS_FOUND` to be returned not just `BLAS_LIBRARIES` to be returned by find_package(blas). But the new FindBLAS.cmake never sets BLAS_FOUND anymore - even so it is documented in the module. There may be other like that out there. (In reply to François Bissey from comment #2) > It is not the only problem. https://github.com/gentoo/sci/issues/878 > tl;dr > CMakeList.txt for cblas-reference and lapack-reference (same source) rely on > the variable `BLAS_FOUND` to be returned not just `BLAS_LIBRARIES` to be > returned by find_package(blas). But the new FindBLAS.cmake never sets > BLAS_FOUND anymore - even so it is documented in the module. > There may be other like that out there. I can confirm that issue for cmake-3.12.1, while cmake-3.11.4-r1 seems to work fine. Rolf, are you aware of the problem? I could not find an upstream report for 3.12. See https://gitlab.kitware.com/cmake/cmake/merge_requests/2631 for merge request I just wrote to restore BLAS_FOUND broken since [1]. Feel free to consider adding this as a distro-level patch in a revbump for now. [1] https://gitlab.kitware.com/cmake/cmake/commit/92ac721a44bcae43ed9ad33d4d0f The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=160c412e439e3106ffb542beefa123816c72ec6d commit 160c412e439e3106ffb542beefa123816c72ec6d Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-11-21 09:34:55 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-11-21 09:35:12 +0000 dev-util/cmake: Bump to version 3.13.0. Removed old. Closes: https://bugs.gentoo.org/653936 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> dev-util/cmake/Manifest | 2 +- dev-util/cmake/{cmake-3.13.0_rc3.ebuild => cmake-3.13.0.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) *** Bug 666528 has been marked as a duplicate of this bug. *** |