From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/scalapack/
Date: Wed, 6 Mar 2024 07:25:43 +0000 (UTC) [thread overview]
Message-ID: <1709709935.2df2ec23674da60b38a6aec7e5f1a8e5c281203b.sam@gentoo> (raw)
commit: 2df2ec23674da60b38a6aec7e5f1a8e5c281203b
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 6 07:21:02 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 6 07:25:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df2ec23
sci-libs/scalapack: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/862924
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/scalapack/scalapack-2.1.0.ebuild | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/sci-libs/scalapack/scalapack-2.1.0.ebuild b/sci-libs/scalapack/scalapack-2.1.0.ebuild
index e102c27d3b80..843d2ff0d166 100644
--- a/sci-libs/scalapack/scalapack-2.1.0.ebuild
+++ b/sci-libs/scalapack/scalapack-2.1.0.ebuild
@@ -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=7
-inherit cmake fortran-2 toolchain-funcs
+inherit cmake flag-o-matic fortran-2 toolchain-funcs
GCC10_PATCH_HASH="bc6cad585362aa58e05186bb85d4b619080c45a9"
@@ -39,6 +39,14 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/862924
+ # https://github.com/Reference-ScaLAPACK/scalapack/issues/95
+ #
+ # Do not trust it for LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
scalapack_configure() {
local mycmakeargs=(
-DUSE_OPTIMIZED_LAPACK_BLAS=ON
next reply other threads:[~2024-03-06 7:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-06 7:25 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-06 17:56 [gentoo-commits] repo/gentoo:master commit in: sci-libs/scalapack/ Sam James
2024-12-06 17:56 Sam James
2024-08-30 13:11 Andreas Sturmlechner
2024-07-04 16:34 Matthias Maier
2024-04-23 20:37 Sam James
2023-03-07 0:18 Yixun Lan
2021-01-05 8:40 Joonas Niilola
2020-04-30 4:55 Matthias Maier
2018-10-15 22:10 Andreas Sturmlechner
2018-10-15 22:08 Andreas Sturmlechner
2018-10-15 22:08 Andreas Sturmlechner
2018-10-15 22:08 Andreas Sturmlechner
2017-10-16 3:34 David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1709709935.2df2ec23674da60b38a6aec7e5f1a8e5c281203b.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox