intel: Disable shader cache when executing intel_clc during the build

With the shader cache enabled, intel_clc attempts to write to ~/.cache.
Many distributions' build systems limit file-system access, and will
kill the process thus causing the build to fail.

Fixes: 639665053f ("anv/grl: Build OpenCL kernels")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22968>
This commit is contained in:
Matt Turner 2023-05-11 13:51:25 -04:00 committed by Marge Bot
parent 6aee7848bb
commit 435a607909

View File

@ -142,6 +142,7 @@ foreach t : [['125', 'gfx125', 'dg2']]
# without modifying grl source code, remove
# if fixed there
],
env: ['MESA_SHADER_CACHE_DISABLE=true'],
depends : [prog_intel_clc]
)
endforeach