public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/
Date: Wed, 28 Feb 2024 15:27:36 +0000 (UTC)	[thread overview]
Message-ID: <1709133987.91b7a7537de9f4c49d9ef8abb6eaba2b0fbbe79b.sam@gentoo> (raw)

commit:     91b7a7537de9f4c49d9ef8abb6eaba2b0fbbe79b
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Feb 28 06:28:08 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 15:26:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b7a753

sci-libs/lapack: mark as LTO-unsafe

Bug: https://bugs.gentoo.org/878891
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/lapack/lapack-3.11.ebuild   | 9 +++++++--
 sci-libs/lapack/lapack-3.12.0.ebuild | 7 ++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/sci-libs/lapack/lapack-3.11.ebuild b/sci-libs/lapack/lapack-3.11.ebuild
index 7e2764d7f209..91d893cac281 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 # Some additional tests are run if Python is found
 PYTHON_COMPAT=( python3_{10..11} )
-inherit cmake fortran-2 python-any-r1
+inherit cmake flag-o-matic fortran-2 python-any-r1
 
 DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
 HOMEPAGE="https://www.netlib.org/lapack/"
@@ -39,6 +39,11 @@ pkg_setup() {
 }
 
 src_configure() {
+	# -Werror=lto-type-mismatch
+	# https://bugs.gentoo.org/878891
+	# https://github.com/Reference-LAPACK/lapack/issues/990
+	filter-lto
+
 	local mycmakeargs=(
 		-DCBLAS=ON
 		-DLAPACKE=$(usex lapacke)

diff --git a/sci-libs/lapack/lapack-3.12.0.ebuild b/sci-libs/lapack/lapack-3.12.0.ebuild
index 229d8a10774d..4cc2f91f5f67 100644
--- a/sci-libs/lapack/lapack-3.12.0.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # Some additional tests are run if Python is found
 PYTHON_COMPAT=( python3_{10..11} )
-inherit cmake fortran-2 python-any-r1
+inherit cmake flag-o-matic fortran-2 python-any-r1
 
 DESCRIPTION="BLAS, CBLAS, LAPACK, LAPACKE reference implementations"
 HOMEPAGE="https://www.netlib.org/lapack/"
@@ -39,6 +39,11 @@ pkg_setup() {
 }
 
 src_configure() {
+	# -Werror=lto-type-mismatch
+	# https://bugs.gentoo.org/878891
+	# https://github.com/Reference-LAPACK/lapack/issues/990
+	filter-lto
+
 	local mycmakeargs=(
 		-DCBLAS=ON
 		-DLAPACKE=$(usex lapacke)


             reply	other threads:[~2024-02-28 15:27 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28 15:27 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-02  4:57 [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/ Sam James
2024-04-04 16:23 Arthur Zamarin
2024-03-16  8:41 Arthur Zamarin
2024-03-15 21:47 Arthur Zamarin
2024-03-15 16:18 Arthur Zamarin
2024-03-15 16:04 Arthur Zamarin
2024-03-15 15:39 Arthur Zamarin
2024-03-15 15:39 Arthur Zamarin
2024-03-15 15:37 Arthur Zamarin
2024-03-04 11:35 Sam James
2024-03-04  5:20 Sam James
2024-03-03  4:05 Sam James
2024-02-06 22:41 Sam James
2024-02-03  6:56 Sam James
2024-02-02 15:39 Arthur Zamarin
2024-02-02  6:40 Sam James
2024-02-02  4:44 Sam James
2024-02-02  4:44 Sam James
2023-11-24 21:53 Sam James
2023-08-24 23:15 Sam James
2023-08-24 23:15 Sam James
2023-03-18 21:45 James Le Cuirot
2023-03-18 21:36 James Le Cuirot
2023-03-04 17:25 Arthur Zamarin
2023-03-04 11:22 Arthur Zamarin
2023-03-04  9:26 Arthur Zamarin
2023-03-04  8:07 Arthur Zamarin
2023-03-04  7:51 Arthur Zamarin
2023-03-04  6:17 Arthur Zamarin
2023-03-04  6:06 Arthur Zamarin
2023-03-04  5:55 Arthur Zamarin
2022-12-19 14:47 Andreas Sturmlechner
2022-11-16  6:08 Arthur Zamarin
2022-11-12  2:39 Sam James
2022-11-12  0:05 Sam James
2022-11-12  0:05 Sam James
2022-11-11 22:46 Sam James
2022-11-11 22:45 Sam James
2022-11-11 22:39 Sam James
2022-11-11 22:39 Sam James
2022-11-11 22:36 Sam James
2022-05-14  3:42 WANG Xuerui
2022-04-13  0:53 Sam James
2022-04-13  0:53 Sam James
2021-12-02 10:18 Andreas Sturmlechner
2021-12-02  8:27 Arthur Zamarin
2021-12-02  8:24 Agostino Sarubbo
2021-12-02  0:59 Sam James
2021-12-01 19:45 Arthur Zamarin
2021-12-01 19:45 Arthur Zamarin
2021-12-01 19:45 Arthur Zamarin
2021-12-01 19:45 Arthur Zamarin
2021-12-01 19:45 Arthur Zamarin
2021-11-30 13:30 Andreas Sturmlechner
2021-07-01 22:41 Marek Szuba
2021-06-29  6:02 Sam James
2021-03-15 19:24 Sam James
2021-02-06 21:33 Sam James
2021-01-06 15:17 Fabian Groffen
2020-12-29  6:52 Sam James
2020-11-15 14:52 David Seifert
2020-11-12 21:03 Thomas Deutschmann
2020-11-07 20:37 Sergei Trofimovich
2020-11-07 20:34 Sergei Trofimovich
2020-11-07  1:25 Sam James
2020-11-06 22:35 Sam James
2020-11-06 14:51 Sam James
2020-11-06 11:16 Sam James
2020-09-30  0:19 Sam James
2020-08-01  9:01 Sergei Trofimovich
2020-08-01  8:53 Sergei Trofimovich
2020-07-25 21:01 Sam James
2020-07-25 14:08 Sam James
2020-07-25  8:42 Sergei Trofimovich
2020-07-24 11:54 Sam James
2020-06-01 19:52 Sergei Trofimovich
2020-05-20  6:25 Agostino Sarubbo
2020-03-08  4:35 Benda XU
2020-02-08 17:06 David Seifert
2019-12-24 20:03 Mikle Kolyada
2019-12-01 14:01 Sergei Trofimovich
2019-11-24  4:24 Aaron Bauman
2019-11-15 12:47 Agostino Sarubbo
2019-11-01 11:14 Mikle Kolyada
2019-10-31 23:50 Thomas Deutschmann
2019-06-26  3:11 Benda XU

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=1709133987.91b7a7537de9f4c49d9ef8abb6eaba2b0fbbe79b.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