aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2024-05-08 13:39:57 +0100
committerGitHub <noreply@github.com>2024-05-08 13:39:57 +0100
commit9b75656400b609143147155bf387601a2ab5a242 (patch)
tree7126630d2f4567d75d01d5cb6cba16023f140101 /src/main.cpp
parent1d3c061add30bf517bd7bffbbdfc0a7900bef2fd (diff)
parent9d1db48549b57635d96a1ecd698b03f3e36a4451 (diff)
Merge pull request #3308 from laytan/llvm-18
Support LLVM 18 (non-windows targets for now)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 93685acb9..e76b0e380 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -86,11 +86,8 @@ gb_global Timings global_timings = {0};
#if defined(GB_SYSTEM_OSX)
#include <llvm/Config/llvm-config.h>
- #if LLVM_VERSION_MAJOR < 11
- #error LLVM Version 11+ is required => "brew install llvm@11"
- #endif
- #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"
+ #if LLVM_VERSION_MAJOR < 11 || (LLVM_VERSION_MAJOR > 14 && LLVM_VERSION_MAJOR < 17) || LLVM_VERSION_MAJOR > 18
+ #error LLVM Version 11..=14 or =18 is required => "brew install llvm@14"
#endif
#endif