www-client/firefox: clear some leftover addpredicts from 115esr

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola
2024-08-07 08:41:01 +03:00
parent 48b4885e4f
commit 9138958e54
2 changed files with 0 additions and 56 deletions
@@ -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
@@ -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