mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 18:24:13 +08:00
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> (cherry picked from commit435a607909
)
This commit is contained in:
parent
4fe91a3204
commit
801b05aa17
@ -3134,7 +3134,7 @@
|
||||
"description": "intel: Disable shader cache when executing intel_clc during the build",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "639665053fabad75afcf7889970c6a4119fdae92",
|
||||
"notes": null
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user