diff options
author | Joonas Niilola <juippis@gentoo.org> | 2024-08-07 08:41:01 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-08-07 08:41:01 +0300 |
commit | 9138958e54f4a1e00a1111243a4e577b598233b6 (patch) | |
tree | 035f421f03e85923db988803b3d3173b51b99577 /www-client | |
parent | www-client/firefox: fix PGO for 115.13.0, 115.14.0 (diff) | |
download | gentoo-9138958e54f4a1e00a1111243a4e577b598233b6.tar.gz gentoo-9138958e54f4a1e00a1111243a4e577b598233b6.tar.bz2 gentoo-9138958e54f4a1e00a1111243a4e577b598233b6.zip |
www-client/firefox: clear some leftover addpredicts from 115esr
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/firefox/firefox-115.13.0.ebuild | 28 | ||||
-rw-r--r-- | www-client/firefox/firefox-115.14.0.ebuild | 28 |
2 files changed, 0 insertions, 56 deletions
diff --git a/www-client/firefox/firefox-115.13.0.ebuild b/www-client/firefox/firefox-115.13.0.ebuild index ab2ac2550f3b..67c0548f35c3 100644 --- a/www-client/firefox/firefox-115.13.0.ebuild +++ b/www-client/firefox/firefox-115.13.0.ebuild @@ -487,8 +487,6 @@ virtwl() { [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset" tinywl -h >/dev/null || die 'tinywl -h failed' - # TODO: don't run addpredict in utility function. WLR_RENDERER=pixman doesn't work - addpredict /dev/dri local VIRTWL VIRTWL_PID coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; } local -x WAYLAND_DISPLAY @@ -586,32 +584,6 @@ pkg_setup() { # Clear tons of conditions, since PGO is hardware-dependant. addpredict /dev - - # 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 diff --git a/www-client/firefox/firefox-115.14.0.ebuild b/www-client/firefox/firefox-115.14.0.ebuild index 0d38aaa8ab50..894d9203b7f2 100644 --- a/www-client/firefox/firefox-115.14.0.ebuild +++ b/www-client/firefox/firefox-115.14.0.ebuild @@ -487,8 +487,6 @@ virtwl() { [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset" tinywl -h >/dev/null || die 'tinywl -h failed' - # TODO: don't run addpredict in utility function. WLR_RENDERER=pixman doesn't work - addpredict /dev/dri local VIRTWL VIRTWL_PID coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; } local -x WAYLAND_DISPLAY @@ -586,32 +584,6 @@ pkg_setup() { # Clear tons of conditions, since PGO is hardware-dependant. addpredict /dev - - # 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 |