mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
ci: set up XDG_RUNTIME_DIR to be under /tmp which is tmpfs
Set up XDG_RUNTIME_DIR path to be under /tmp. This might improve speed as /tmp is under tmpfs while the older path might have been under NFS. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35126>
This commit is contained in:
parent
c5500cd12f
commit
b16ed16d75
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ export -f _uncollapsed_section_switch
|
|||
export -f _error_msg
|
||||
|
||||
# Freedesktop requirement (needed for Wayland)
|
||||
[ -n "${XDG_RUNTIME_DIR:-}" ] || export XDG_RUNTIME_DIR="$(mktemp -p "$PWD" -d xdg-runtime-XXXXXX)"
|
||||
[ -n "${XDG_RUNTIME_DIR:-}" ] || export XDG_RUNTIME_DIR="$(mktemp --tmpdir -d xdg-runtime-XXXXXX)"
|
||||
|
||||
if [ -z "${RESULTS_DIR:-}" ]; then
|
||||
export RESULTS_DIR="${PWD%/}/results"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue