summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-24 02:11:42 -0400
committerSam James <sam@gentoo.org>2024-03-24 06:56:35 +0000
commitbadab11d7c186f4c0140f06771d3ce3d66190a91 (patch)
tree9936d5e00e245d9318525a129060cac507c5a097 /sci-libs/sundials/sundials-6.5.0.ebuild
parentapp-containers/buildah: Stabilize 1.34.3 amd64, #927575 (diff)
downloadgentoo-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/sundials/sundials-6.5.0.ebuild')
-rw-r--r--sci-libs/sundials/sundials-6.5.0.ebuild8
1 files changed, 7 insertions, 1 deletions
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