diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-24 02:11:42 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-24 06:56:35 +0000 |
commit | badab11d7c186f4c0140f06771d3ce3d66190a91 (patch) | |
tree | 9936d5e00e245d9318525a129060cac507c5a097 /sci-libs | |
parent | app-containers/buildah: Stabilize 1.34.3 amd64, #927575 (diff) | |
download | gentoo-badab11d7c186f4c0140f06771d3ce3d66190a91.tar.gz gentoo-badab11d7c186f4c0140f06771d3ce3d66190a91.tar.bz2 gentoo-badab11d7c186f4c0140f06771d3ce3d66190a91.zip |
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@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/sundials/sundials-5.8.0.ebuild | 8 | ||||
-rw-r--r-- | sci-libs/sundials/sundials-6.2.0.ebuild | 8 | ||||
-rw-r--r-- | 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 |