commit: badab11d7c186f4c0140f06771d3ce3d66190a91 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Sun Mar 24 06:11:42 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Mar 24 06:56:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=badab11d
sci-libs/sundials: mark as LTO-unsafe It fails with linking errors that are probably fortran related. An upstream ticket exists since 2021 but no sign anything is being done about it. Bug: https://github.com/LLNL/sundials/issues/97 Closes: https://bugs.gentoo.org/862933 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/sundials/sundials-5.8.0.ebuild | 8 +++++++- sci-libs/sundials/sundials-6.2.0.ebuild | 8 +++++++- sci-libs/sundials/sundials-6.5.0.ebuild | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/sci-libs/sundials/sundials-5.8.0.ebuild b/sci-libs/sundials/sundials-5.8.0.ebuild index 517e32342ded..53665c56e14f 100644 --- a/sci-libs/sundials/sundials-5.8.0.ebuild +++ b/sci-libs/sundials/sundials-5.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -57,6 +57,12 @@ src_prepare() { } src_configure() { + # undefined reference to `psolve' + # undefined reference to `psetup' + # https://bugs.gentoo.org/862933 + # https://github.com/LLNL/sundials/issues/97 + filter-lto + mycmakeargs+=( -DBUILD_FORTRAN77_INTERFACE=$(usex fortran) -DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran) diff --git a/sci-libs/sundials/sundials-6.2.0.ebuild b/sci-libs/sundials/sundials-6.2.0.ebuild index 6c7c190fc0c7..d7351c6df946 100644 --- a/sci-libs/sundials/sundials-6.2.0.ebuild +++ b/sci-libs/sundials/sundials-6.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -58,6 +58,12 @@ src_prepare() { } src_configure() { + # undefined reference to `psolve' + # undefined reference to `psetup' + # https://bugs.gentoo.org/862933 + # https://github.com/LLNL/sundials/issues/97 + filter-lto + mycmakeargs+=( -DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran) -DBUILD_SHARED_LIBS=ON diff --git a/sci-libs/sundials/sundials-6.5.0.ebuild b/sci-libs/sundials/sundials-6.5.0.ebuild index 3c5b1fe76979..d98b371af267 100644 --- a/sci-libs/sundials/sundials-6.5.0.ebuild +++ b/sci-libs/sundials/sundials-6.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -58,6 +58,12 @@ src_prepare() { } src_configure() { + # undefined reference to `psolve' + # undefined reference to `psetup' + # https://bugs.gentoo.org/862933 + # https://github.com/LLNL/sundials/issues/97 + filter-lto + mycmakeargs+=( -DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran) -DBUILD_SHARED_LIBS=ON
