From ba817d153ce1cd48dd37e47d2e4243270f78e9f0 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 24 Feb 2021 23:21:34 +0000 Subject: Get compiling on Mac Mini M1 --- src/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 346488ca8..a40a96ea9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -28,6 +28,14 @@ gb_global Timings global_timings = {0}; #if defined(LLVM_BACKEND_SUPPORT) #include "llvm_backend.cpp" + +#if defined(GB_SYSTEM_OSX) + #include + #if LLVM_VERSION_MAJOR < 11 + #error LLVM Version 11+ is required => "brew install llvm@11" + #endif +#endif + #endif #include "ir.cpp" -- cgit v1.2.3