Module: Mesa
Branch: main
Commit: d09a7132d8162ffa14fdbf71feea2a19b0158097
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d09a7132d8162ffa14fdbf71feea2a19b0158097

Author: Lone_Wolf <[email protected]>
Date:   Thu Apr 27 19:44:55 2023 +0200

clc: Add clangASTMatchers to fix static llvm build of  microsoft-clc with LLVM 
16+

Cc: mesa-stable

Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22741>

---

 meson.build | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meson.build b/meson.build
index 24e42dd1978..2b6fb31a34c 100644
--- a/meson.build
+++ b/meson.build
@@ -1765,6 +1765,9 @@ if with_clc
     if dep_llvm.version().version_compare('>= 15.0')
       clang_modules += 'clangSupport'
     endif
+    if dep_llvm.version().version_compare('>= 16.0')
+      clang_modules += 'clangASTMatchers'
+    endif
 
     dep_clang = []
     foreach m : clang_modules

Reply via email to