Mesa (master): ci: Disable shader cache on vulkan CI runs.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jun 9 19:04:02 UTC 2020
Module: Mesa
Branch: master
Commit: eca02ec44aa977a86ab858c1c5ff3dd6ba91fae4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eca02ec44aa977a86ab858c1c5ff3dd6ba91fae4
Author: Eric Anholt <eric at anholt.net>
Date: Thu May 28 12:37:29 2020 -0700
ci: Disable shader cache on vulkan CI runs.
I found it to be flaky in freedreno CI, and tracked down the issue to
parallel-deqp-runner needing to manage the shader cache
(https://gitlab.freedesktop.org/mesa/parallel-deqp-runner/-/merge_requests/13).
Until we fix that in the runner, disable it. This should matter less now
that we prebuild the SPIRV, though.
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5266>
---
.gitlab-ci/deqp-runner.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh
index bcaa5d39afd..b9f14fe25b4 100755
--- a/.gitlab-ci/deqp-runner.sh
+++ b/.gitlab-ci/deqp-runner.sh
@@ -7,6 +7,11 @@ DEQP_OPTIONS="$DEQP_OPTIONS --deqp-surface-type=pbuffer"
DEQP_OPTIONS="$DEQP_OPTIONS --deqp-gl-config-name=rgba8888d24s8ms0"
DEQP_OPTIONS="$DEQP_OPTIONS --deqp-visibility=hidden"
+# deqp's shader cache (for vulkan) is not multiprocess safe for a common
+# filename, see:
+# https://gitlab.freedesktop.org/mesa/parallel-deqp-runner/-/merge_requests/13
+DEQP_OPTIONS="$DEQP_OPTIONS --deqp-shadercache=disable"
+
if [ -z "$DEQP_VER" ]; then
echo 'DEQP_VER must be set to something like "gles2", "gles31" or "vk" for the test run'
exit 1
More information about the mesa-commit
mailing list