ci: Set XDG_CACHE_HOME to tmpfs for bare-metal runners to avoid NFS.
authorEric Anholt <eric@anholt.net>
Mon, 20 Jul 2020 17:46:51 +0000 (10:46 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Jul 2020 11:04:14 +0000 (11:04 +0000)
commit8b3452a556640ab2319248c304822a9f5e2e7394
treea8fd1c430200e1533fce73eda638105857fafa14
parentb2cd6a0b156a617007536b6f655b38c670acd31f
ci: Set XDG_CACHE_HOME to tmpfs for bare-metal runners to avoid NFS.

We don't want these files shared between builds (it'll get blown away by
the next rsync), and NFS will just increase our latency for hitting the
cache.

Drops a630 gles31 run from 11-17 minutes to 5.5.  Maximum cache size on a
run I've seen is 153M, which it seems we can easily spare.

Fixes: f97acb4bb4b1 ("freedreno/ir3: disk-cache support")
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5998>
.gitlab-ci/bare-metal/init.sh