From bd86cb22e065c500108c06ce3dfde7201cb34f12 Mon Sep 17 00:00:00 2001 From: jcmdln Date: Wed, 11 Oct 2023 21:06:42 -0400 Subject: Support LLVM >=17.0.1 on Darwin and Linux --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index e9c988d95..79c2b3561 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -89,8 +89,8 @@ gb_global Timings global_timings = {0}; #if LLVM_VERSION_MAJOR < 11 #error LLVM Version 11+ is required => "brew install llvm@11" #endif - #if LLVM_VERSION_MAJOR > 14 - #error LLVM Version 11..=14 is required => "brew install llvm@14" + #if (LLVM_VERSION_MAJOR > 14 && LLVM_VERSION_MAJOR < 17) || LLVM_VERSION_MAJOR > 17 + #error LLVM Version 11..=14 or =17 is required => "brew install llvm@14" #endif #endif -- cgit v1.2.3