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 1323F15806E for ; Wed, 7 Jun 2023 10:51:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F288E0801; Wed, 7 Jun 2023 10:51:55 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FFB2E0801 for ; Wed, 7 Jun 2023 10:51:55 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 24125335D56 for ; Wed, 7 Jun 2023 10:51:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59D52A5A for ; Wed, 7 Jun 2023 10:51:52 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1686135079.6a9cf149fe9ecf69ba871c27c9bbeb975ec14f7e.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/firefox/firefox-114.0.ebuild X-VCS-Directories: www-client/firefox/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 6a9cf149fe9ecf69ba871c27c9bbeb975ec14f7e X-VCS-Branch: master Date: Wed, 7 Jun 2023 10:51:52 +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: 7a5c2bbe-7a9c-4dcd-8525-8fd1e317d1f3 X-Archives-Hash: 0e9f2b1eb315222736f1d11512629ce9 commit: 6a9cf149fe9ecf69ba871c27c9bbeb975ec14f7e Author: Joonas Niilola gentoo org> AuthorDate: Wed Jun 7 10:51:12 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Jun 7 10:51:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a9cf149 www-client/firefox: move mold check to src_compile in 114 - also properly de-keyword ppc64. Signed-off-by: Joonas Niilola gentoo.org> www-client/firefox/firefox-114.0.ebuild | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/www-client/firefox/firefox-114.0.ebuild b/www-client/firefox/firefox-114.0.ebuild index 858467a991ef..bdf003b7fd5c 100644 --- a/www-client/firefox/firefox-114.0.ebuild +++ b/www-client/firefox/firefox-114.0.ebuild @@ -57,7 +57,7 @@ SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES} DESCRIPTION="Firefox Web Browser" HOMEPAGE="https://www.mozilla.com/firefox" -KEYWORDS="~amd64 ~arm64 -ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" SLOT="rapid" LICENSE="MPL-2.0 GPL-2 LGPL-2.1" @@ -925,14 +925,6 @@ src_configure() { # Upstream only supports lld or mold when using clang. if tc-ld-is-mold ; then mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold - - # increase ulimit with mold+lto, bugs #892641, #907485 - if ! ulimit -n 16384 1>/dev/null 2>&1 ; then - ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources." - ewarn "Please see bugs #892641 & #907485." - else - ulimit -n 16384 - fi else mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld fi @@ -1162,6 +1154,16 @@ src_configure() { src_compile() { local virtx_cmd= + if tc-ld-is-mold && use lto; then + # increase ulimit with mold+lto, bugs #892641, #907485 + if ! ulimit -n 16384 1>/dev/null 2>&1 ; then + ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources." + ewarn "Please see bugs #892641 & #907485." + else + ulimit -n 16384 + fi + fi + if use pgo; then # Reset and cleanup environment variables used by GNOME/XDG gnome2_environment_reset