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 A27DB158086 for ; Thu, 4 Nov 2021 13:05:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D587E0845; Thu, 4 Nov 2021 13:04:58 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 895D2E0845 for ; Thu, 4 Nov 2021 13:04:57 +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 430CD342AA7 for ; Thu, 4 Nov 2021 13:04:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4EFBB163 for ; Thu, 4 Nov 2021 13:04:53 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1636030967.9cc6db756554a906b1f102014e47c97ef4c5daad.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/thunderbird/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-client/thunderbird/thunderbird-91.3.0.ebuild X-VCS-Directories: mail-client/thunderbird/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 9cc6db756554a906b1f102014e47c97ef4c5daad X-VCS-Branch: master Date: Thu, 4 Nov 2021 13:04: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: ee62e32e-093d-4bda-9d64-f681f166f80a X-Archives-Hash: 9ef9f784165f12df80edee74d7a40738 commit: 9cc6db756554a906b1f102014e47c97ef4c5daad Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Nov 4 13:02:47 2021 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Nov 4 13:02:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cc6db75 mail-client/thunderbird: sync with www-client/firefox Signed-off-by: Thomas Deutschmann gentoo.org> mail-client/thunderbird/thunderbird-91.3.0.ebuild | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/mail-client/thunderbird/thunderbird-91.3.0.ebuild b/mail-client/thunderbird/thunderbird-91.3.0.ebuild index d71c5a29a67..8bd529e8302 100644 --- a/mail-client/thunderbird/thunderbird-91.3.0.ebuild +++ b/mail-client/thunderbird/thunderbird-91.3.0.ebuild @@ -452,6 +452,34 @@ pkg_setup() { # Build system is using /proc/self/oom_score_adj, bug #604394 addpredict /proc/self/oom_score_adj + if use pgo ; then + # Allow access to GPU during PGO run + local ati_cards mesa_cards nvidia_cards render_cards + shopt -s nullglob + + ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') + if [[ -n "${ati_cards}" ]] ; then + addpredict "${ati_cards}" + fi + + mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') + if [[ -n "${mesa_cards}" ]] ; then + addpredict "${mesa_cards}" + fi + + nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g') + if [[ -n "${nvidia_cards}" ]] ; then + addpredict "${nvidia_cards}" + fi + + render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g') + if [[ -n "${render_cards}" ]] ; then + addpredict "${render_cards}" + fi + + shopt -u nullglob + fi + if ! mountpoint -q /dev/shm ; then # If /dev/shm is not available, configure is known to fail with # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py