From 5bc52a9103d2de45353056734ca1a9e94e9f6e94 Mon Sep 17 00:00:00 2001 From: Luis Felipe Strano Moraes Date: Sun, 16 Oct 2022 13:50:24 -0700 Subject: [PATCH] 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 Part-of: --- src/intel/vulkan/grl/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/vulkan/grl/meson.build b/src/intel/vulkan/grl/meson.build index b50bd8459b3..8a67e75a365 100644 --- a/src/intel/vulkan/grl/meson.build +++ b/src/intel/vulkan/grl/meson.build @@ -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] )