summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2023-07-09 12:16:54 -0400
committerMichael Orlitzky <mjo@gentoo.org>2023-07-09 12:19:36 -0400
commit6a29b8c181bb98a32bc2a7c21589631d93ea6880 (patch)
tree0cff7459f64f42477b77f23d9faaa932ce9cfb3c /sci-libs
parentdev-python/sphinxcontrib-trio: pep517 (diff)
downloadgentoo-6a29b8c181bb98a32bc2a7c21589631d93ea6880.tar.gz
gentoo-6a29b8c181bb98a32bc2a7c21589631d93ea6880.tar.bz2
gentoo-6a29b8c181bb98a32bc2a7c21589631d93ea6880.zip
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@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/openblas/openblas-0.3.23.ebuild5
1 files changed, 4 insertions, 1 deletions
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