aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorjcmdln <jcmdln@gmail.com>2023-10-11 21:06:42 -0400
committerjcmdln <jcmdln@gmail.com>2023-10-11 21:06:42 -0400
commitbd86cb22e065c500108c06ce3dfde7201cb34f12 (patch)
treea5182761f66b63425dee76ef6cf80a9bf69aec02 /src/main.cpp
parent0c10b951a931d28614c381e7fc26bdafa1e2b9fe (diff)
Support LLVM >=17.0.1 on Darwin and Linux
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
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