anv: fix FTBFS on grl due to changes in clang 15

This was causing build failures when RT is enabled on recent Fedora releases.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7404

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19094>
This commit is contained in:
Luis Felipe Strano Moraes 2022-10-16 13:50:24 -07:00 committed by Marge Bot
parent 2c7be4d421
commit 5bc52a9103

View file

@ -134,6 +134,9 @@ foreach t : [['125', 'gfx125', 'dg2']]
'-DMAX_HW_SIMD_WIDTH=16', '-DMAX_WORKGROUP_SIZE=16',
'-I' + join_paths(meson.current_source_dir(), 'gpu'),
'-I' + join_paths(meson.current_source_dir(), 'include'),
'-include' + 'opencl-c.h', # added to bypass build failure from clang15
# without modifying grl source code, remove
# if fixed there
],
depends : [prog_intel_clc]
)