public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eli Schwartz" <eschwartz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cantera/
Date: Tue, 20 Aug 2024 18:14:29 +0000 (UTC)	[thread overview]
Message-ID: <1724177524.6a51311816af3082a8e5e2be8dc36b67cd7b25fa.eschwartz@gentoo> (raw)

commit:     6a51311816af3082a8e5e2be8dc36b67cd7b25fa
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 20 18:10:17 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 18:12:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a513118

sci-libs/cantera: mark as LTO-unsafe

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sci-libs/cantera/cantera-3.0.0-r1.ebuild | 6 +++++-
 sci-libs/cantera/cantera-3.0.1.ebuild    | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sci-libs/cantera/cantera-3.0.0-r1.ebuild b/sci-libs/cantera/cantera-3.0.0-r1.ebuild
index 9f0de3263452..c6b3ec2711e1 100644
--- a/sci-libs/cantera/cantera-3.0.0-r1.ebuild
+++ b/sci-libs/cantera/cantera-3.0.0-r1.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{10..12} )
 FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD="77 90"
 
-inherit fortran-2 python-single-r1 scons-utils toolchain-funcs
+inherit flag-o-matic fortran-2 python-single-r1 scons-utils toolchain-funcs
 
 DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport"
 HOMEPAGE="https://www.cantera.org"
@@ -78,6 +78,10 @@ pkg_setup() {
 ## Full list of configuration options of Cantera is presented here:
 ## http://cantera.org/docs/sphinx/html/compiling/config-options.html
 src_configure() {
+	# -Werror=odr, -Werror=lto-type-mismatch
+	# https://github.com/Cantera/cantera/issues/1783
+	filter-lto
+
 	scons_vars=(
 		AR="$(tc-getAR)"
 		CC="$(tc-getCC)"

diff --git a/sci-libs/cantera/cantera-3.0.1.ebuild b/sci-libs/cantera/cantera-3.0.1.ebuild
index 7de3d3bf06df..46a9c3b2f469 100644
--- a/sci-libs/cantera/cantera-3.0.1.ebuild
+++ b/sci-libs/cantera/cantera-3.0.1.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{10..12} )
 FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD="77 90"
 
-inherit fortran-2 python-single-r1 scons-utils toolchain-funcs
+inherit flag-o-matic fortran-2 python-single-r1 scons-utils toolchain-funcs
 
 DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport"
 HOMEPAGE="https://www.cantera.org"
@@ -77,6 +77,10 @@ pkg_setup() {
 ## Full list of configuration options of Cantera is presented here:
 ## http://cantera.org/docs/sphinx/html/compiling/config-options.html
 src_configure() {
+	# -Werror=odr, -Werror=lto-type-mismatch
+	# https://github.com/Cantera/cantera/issues/1783
+	filter-lto
+
 	scons_vars=(
 		AR="$(tc-getAR)"
 		CC="$(tc-getCC)"


             reply	other threads:[~2024-08-20 18:14 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-20 18:14 Eli Schwartz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-20 18:14 [gentoo-commits] repo/gentoo:master commit in: sci-libs/cantera/ Eli Schwartz
2024-02-28 14:00 Sam James
2024-02-08  9:18 Joonas Niilola
2023-10-27  2:34 Sam James
2023-08-28 22:57 Sam James
2023-05-14 10:29 Andreas Sturmlechner
2023-03-07 11:42 Sam James
2022-12-26 19:19 Andreas Sturmlechner
2022-11-06 19:06 Sam James
2022-06-07  7:46 Sam James
2022-05-09  9:58 Jakov Smolić
2022-02-27  0:58 Sam James
2022-02-27  0:54 Sam James
2022-01-15  9:31 Joonas Niilola
2021-07-17 18:18 David Seifert
2021-05-24 13:05 Agostino Sarubbo
2021-04-09 12:21 Joonas Niilola
2021-03-01  8:26 Joonas Niilola
2021-02-19 16:04 Sam James
2021-02-19 16:04 Sam James
2021-02-19 16:04 Sam James
2020-10-09 15:23 Agostino Sarubbo
2020-07-21 10:03 Andreas Sturmlechner
2020-05-05 16:54 Matthias Maier
2020-02-09 16:36 Michał Górny
2020-01-14 14:56 Agostino Sarubbo
2019-08-09 14:41 Joonas Niilola
2019-07-19 16:45 Michał Górny
2019-07-19 16:45 Michał Górny
2019-07-19 16:45 Michał Górny
2019-07-19 16:45 Michał Górny
2019-07-19 16:45 Michał Górny

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=1724177524.6a51311816af3082a8e5e2be8dc36b67cd7b25fa.eschwartz@gentoo \
    --to=eschwartz@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