aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2022-10-27 02:55:38 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2022-10-27 02:55:38 +0200
commit85a263130d6161e1ceed1d8d82d4c96cd66e87cc (patch)
treefcac5a865a216349434b9fb1eb2a4f4f441fab74 /src/main.cpp
parentd19ae37af128a9b50ce94722a6486d3e29d60810 (diff)
Add LLVM > 14 check to main.cpp for Darwin.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a1daa51d1..4c6eaf521 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -53,6 +53,9 @@ 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"
+ #endif
#endif
#include "query_data.cpp"