From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BFF6E159C9B for ; Thu, 1 Aug 2024 03:15:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC995E29E2; Thu, 1 Aug 2024 03:15:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 81C86E29E2 for ; Thu, 1 Aug 2024 03:15:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2241D335D72 for ; Thu, 1 Aug 2024 03:15:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD2C31E8C for ; Thu, 1 Aug 2024 03:15:09 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1722482057.12772e77c1002179e87918b5af37ac1d52b64f78.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild sci-libs/ginkgo/ginkgo-1.6.0.ebuild sci-libs/ginkgo/ginkgo-1.8.0.ebuild X-VCS-Directories: sci-libs/ginkgo/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 12772e77c1002179e87918b5af37ac1d52b64f78 X-VCS-Branch: master Date: Thu, 1 Aug 2024 03:15:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1d061a6e-4770-47ed-8423-1b45ea13e550 X-Archives-Hash: 7e3b6066b99ca6e8356fcabe47384526 commit: 12772e77c1002179e87918b5af37ac1d52b64f78 Author: Eli Schwartz gentoo org> AuthorDate: Thu Aug 1 00:16:45 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Thu Aug 1 03:14:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12772e77 sci-libs/ginkgo: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/862705 Signed-off-by: Eli Schwartz gentoo.org> sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild | 10 +++++++++- sci-libs/ginkgo/ginkgo-1.6.0.ebuild | 10 +++++++++- sci-libs/ginkgo/ginkgo-1.8.0.ebuild | 10 +++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild index c3849d3ff6dd..0a4e3d5aea71 100644 --- a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild +++ b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake toolchain-funcs +inherit cmake flag-o-matic toolchain-funcs DESCRIPTION="Numerical linear algebra software package" HOMEPAGE="https://ginkgo-project.github.io/" @@ -35,6 +35,14 @@ pkg_setup() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/862705 + # https://github.com/ginkgo-project/ginkgo/issues/1657 + # + # Do not trust it with LTO either. + append-flags -fno-strict-aliasing + filter-lto + local mycmakeargs=( -DGINKGO_DEVEL_TOOLS=OFF -DGINKGO_BUILD_TESTS=OFF diff --git a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild index 3120a68d8975..c08e881a46e3 100644 --- a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild +++ b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake toolchain-funcs +inherit cmake flag-o-matic toolchain-funcs DESCRIPTION="Numerical linear algebra software package" HOMEPAGE="https://ginkgo-project.github.io/" @@ -40,6 +40,14 @@ pkg_setup() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/862705 + # https://github.com/ginkgo-project/ginkgo/issues/1657 + # + # Do not trust it with LTO either. + append-flags -fno-strict-aliasing + filter-lto + local mycmakeargs=( -DGINKGO_DEVEL_TOOLS=OFF -DGINKGO_BUILD_TESTS=OFF diff --git a/sci-libs/ginkgo/ginkgo-1.8.0.ebuild b/sci-libs/ginkgo/ginkgo-1.8.0.ebuild index 9f0450e54c30..028c8cdc3a77 100644 --- a/sci-libs/ginkgo/ginkgo-1.8.0.ebuild +++ b/sci-libs/ginkgo/ginkgo-1.8.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake toolchain-funcs +inherit cmake flag-o-matic toolchain-funcs DESCRIPTION="Numerical linear algebra software package" HOMEPAGE="https://ginkgo-project.github.io/" @@ -39,6 +39,14 @@ pkg_setup() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/862705 + # https://github.com/ginkgo-project/ginkgo/issues/1657 + # + # Do not trust it with LTO either. + append-flags -fno-strict-aliasing + filter-lto + local mycmakeargs=( -DGINKGO_DEVEL_TOOLS=OFF -DGINKGO_BUILD_TESTS=OFF