mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-15 22:08:17 +02: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
c8c7dd030f
commit
f93ea427b2
2 changed files with 2 additions and 1 deletions
|
|
@ -4378,7 +4378,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"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Reference in a new issue