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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8415E1382C5 for ; Mon, 4 Jan 2021 09:45:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0BA7E0952; Mon, 4 Jan 2021 09:45:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B4EBCE0952 for ; Mon, 4 Jan 2021 09:45:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B7CD834111B for ; Mon, 4 Jan 2021 09:45:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4119848B for ; Mon, 4 Jan 2021 09:45:53 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1609753545.96de8f81d7b7ff64bf39798f8790913e2759080f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib/files/, dev-python/matplotlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/matplotlib/files/matplotlib-3.3.3-disable-lto.patch dev-python/matplotlib/matplotlib-3.3.3-r1.ebuild dev-python/matplotlib/matplotlib-3.3.3.ebuild X-VCS-Directories: dev-python/matplotlib/ dev-python/matplotlib/files/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 96de8f81d7b7ff64bf39798f8790913e2759080f X-VCS-Branch: master Date: Mon, 4 Jan 2021 09:45:53 +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: 2bea06eb-975c-4200-b82f-96bf87b7a6d6 X-Archives-Hash: e51b43e5f0338be47667c1ee5f5bb085 commit: 96de8f81d7b7ff64bf39798f8790913e2759080f Author: Michał Górny gentoo org> AuthorDate: Mon Jan 4 09:08:22 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jan 4 09:45:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96de8f81 dev-python/matplotlib: Remove -flto Closes: https://bugs.gentoo.org/736122 Signed-off-by: Michał Górny gentoo.org> .../files/matplotlib-3.3.3-disable-lto.patch | 25 ++++++++++++++++++++++ ...lib-3.3.3.ebuild => matplotlib-3.3.3-r1.ebuild} | 1 + 2 files changed, 26 insertions(+) diff --git a/dev-python/matplotlib/files/matplotlib-3.3.3-disable-lto.patch b/dev-python/matplotlib/files/matplotlib-3.3.3-disable-lto.patch new file mode 100644 index 00000000000..ab377e7f19b --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-3.3.3-disable-lto.patch @@ -0,0 +1,25 @@ +From 7382d6205bfdc647a8e47c8e417c991d3822eace Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Mon, 4 Jan 2021 10:03:32 +0100 +Subject: [PATCH] Disable -flto + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 6e1d19d..ed85d14 100644 +--- a/setup.py ++++ b/setup.py +@@ -147,7 +147,7 @@ class BuildExtraLibraries(BuildExtCommand): + ranlib = True + else: + ranlib = shutil.which('llvm-ranlib') +- if ranlib and has_flag(self.compiler, '-flto'): ++ if False and ranlib and has_flag(self.compiler, '-flto'): + for ext in self.extensions: + ext.extra_compile_args.append('-flto') + cppflags.append('-flto') +-- +2.30.0 + diff --git a/dev-python/matplotlib/matplotlib-3.3.3.ebuild b/dev-python/matplotlib/matplotlib-3.3.3-r1.ebuild similarity index 99% rename from dev-python/matplotlib/matplotlib-3.3.3.ebuild rename to dev-python/matplotlib/matplotlib-3.3.3-r1.ebuild index 1f794c15026..f8757316477 100644 --- a/dev-python/matplotlib/matplotlib-3.3.3.ebuild +++ b/dev-python/matplotlib/matplotlib-3.3.3-r1.ebuild @@ -150,6 +150,7 @@ python_prepare_all() { local PATCHES=( "${FILESDIR}"/matplotlib-3.3.0-test.patch "${FILESDIR}"/matplotlib-3.3.2-test-extra.patch + "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch ) # requires jupyter-nbconvert