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 16EA0158041 for ; Wed, 28 Feb 2024 15:27:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2C39E2A17; Wed, 28 Feb 2024 15:27:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 A4E82E2A17 for ; Wed, 28 Feb 2024 15:27:38 +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 AC919343003 for ; Wed, 28 Feb 2024 15:27:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CD8114E6 for ; Wed, 28 Feb 2024 15:27:36 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1709133987.91b7a7537de9f4c49d9ef8abb6eaba2b0fbbe79b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/lapack/lapack-3.11.ebuild sci-libs/lapack/lapack-3.12.0.ebuild X-VCS-Directories: sci-libs/lapack/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 91b7a7537de9f4c49d9ef8abb6eaba2b0fbbe79b X-VCS-Branch: master Date: Wed, 28 Feb 2024 15:27:36 +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: c4e15cc0-4b71-4dd1-810a-8ca0ad80bc5b X-Archives-Hash: 6e96684f131505f53794d2e9b9e961e5 commit: 91b7a7537de9f4c49d9ef8abb6eaba2b0fbbe79b Author: Eli Schwartz gmail com> AuthorDate: Wed Feb 28 06:28:08 2024 +0000 Commit: Sam James gentoo 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 gmail.com> Signed-off-by: Sam James 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)