aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2023-10-16 16:15:59 +0100
committerGitHub <noreply@github.com>2023-10-16 16:15:59 +0100
commit6ee7b05b2717fe73a924b5b94b8e24fffb6e65ae (patch)
tree11737dde4ff491ac69f0638f548c65e43f8cd196 /src/main.cpp
parente4c7e9903e3f544e50c9f8505227b34304b01b70 (diff)
parent51248270e1741bf0faffab4e93af6f85615903a4 (diff)
Merge pull request #2850 from jcmdln/linux-llvm-17
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