sci-libs/arpack: mark as LTO-unsafe

It fails in tests, but unfortunately that means we cannot... test...
compiling with LTO.

Closes: https://bugs.gentoo.org/878139
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-03-05 22:37:57 -05:00
committed by Sam James
parent a66f47ce35
commit 845cbe2fef
2 changed files with 18 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools fortran-2 toolchain-funcs
inherit autotools flag-o-matic fortran-2 toolchain-funcs
DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ https://github.com/opencollab/arpack-ng"
@@ -39,6 +39,13 @@ src_prepare() {
}
src_configure() {
# -Werror=lto-type-mismatch
# https://bugs.gentoo.org/878139
# https://github.com/opencollab/arpack-ng/issues/451
#
# Only when building tests. Still this means we cannot test it.
filter-lto
econf \
--disable-static \
--enable-icb \

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools fortran-2 toolchain-funcs
inherit autotools flag-o-matic fortran-2 toolchain-funcs
DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ https://github.com/opencollab/arpack-ng"
@@ -35,6 +35,13 @@ src_prepare() {
}
src_configure() {
# -Werror=lto-type-mismatch
# https://bugs.gentoo.org/878139
# https://github.com/opencollab/arpack-ng/issues/451
#
# Only when building tests. Still this means we cannot test it.
filter-lto
econf \
--disable-static \
--enable-icb \