commit: 6a29b8c181bb98a32bc2a7c21589631d93ea6880 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Sun Jul 9 16:16:54 2023 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Sun Jul 9 16:19:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a29b8c1
sci-libs/openblas: disable LTO for now. There's an upstream issue open for the type mismatches, but it doesn't look like an easy fix. For now we work around it by disabling LTO, which disables -Werror=lto-type-mismatch as well. Closes: https://bugs.gentoo.org/878987 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> sci-libs/openblas/openblas-0.3.23.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sci-libs/openblas/openblas-0.3.23.ebuild b/sci-libs/openblas/openblas-0.3.23.ebuild index a29cc595fcae..7638b7e3d707 100644 --- a/sci-libs/openblas/openblas-0.3.23.ebuild +++ b/sci-libs/openblas/openblas-0.3.23.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit fortran-2 toolchain-funcs +inherit flag-o-matic fortran-2 toolchain-funcs DESCRIPTION="Optimized BLAS library based on GotoBLAS2" HOMEPAGE="https://github.com/xianyi/OpenBLAS" @@ -53,6 +53,9 @@ pkg_setup() { # List of most configurable options - Makefile.rule + # not an easy fix, https://github.com/xianyi/OpenBLAS/issues/4128 + filter-lto + # https://github.com/xianyi/OpenBLAS/pull/2663 tc-export CC FC LD AR AS RANLIB
