The current two latest macOS releases (Tahoe and Sequoia) support
XCode 17.x, XCode 26.x and XCode 27.x is in Beta.

XCode 17.x reported CLang 17.0.0, and this continued with XCode 26.0
stream until XCode 26.4 switched to reporting CLang 21.0.0.

A min XCode CLang of 17.0.0 looks appropriate and matches our current
CI job matrix.

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Daniel P. Berrangé <[email protected]>
---
 meson.build | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meson.build b/meson.build
index cb3eaf3abe..ff181e7021 100644
--- a/meson.build
+++ b/meson.build
@@ -330,8 +330,8 @@ foreach lang : all_languages
     # ok
   elif compiler.get_id() == 'clang' and compiler.compiles('''
       #ifdef __apple_build_version__
-      # if __clang_major__ < 15
-      #  error You need at least XCode Clang v15.0 to compile QEMU
+      # if __clang_major__ < 17
+      #  error You need at least XCode Clang v17.0 to compile QEMU
       # endif
       #else
       # if __clang_major__ < 10
@@ -342,7 +342,7 @@ foreach lang : all_languages
   elif compiler.get_id() == 'emscripten'
     # ok
   else
-    error('You either need GCC v10.4 or Clang v10.0 (or XCode Clang v15.0) to 
compile QEMU')
+    error('You either need GCC v10.4 or Clang v10.0 (or XCode Clang v17.0) to 
compile QEMU')
   endif
 endforeach
 
-- 
2.55.0


Reply via email to