From: Eric Anholt Date: Thu, 28 May 2020 19:37:29 +0000 (-0700) Subject: ci: Disable shader cache on vulkan CI runs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eca02ec44aa977a86ab858c1c5ff3dd6ba91fae4;p=mesa.git 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 Reviewed-by: Christian Gmeiner Part-of: --- 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