From 54ea407662cadc3535d013383eac7a84dec2b2a4 Mon Sep 17 00:00:00 2001 From: George Tokmaji Date: Wed, 25 Sep 2024 16:24:05 +0200 Subject: [PATCH] macOS: Use LLVM 19 --- README.md | 4 ++-- autobuild/Mac.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d3d612e41..bcef2583e 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ Essential dependencies: - CMake - Fairly modern C++ compiler - Windows: **Latest MSVC** - - Linux: **g++ ≥ 14.1** or **clang++ ≥ 18.1** - - macOS: **open source clang++ ≥ 18.1** - e.g. `brew install llvm@18 ninja` + - Linux: **g++ ≥ 14.1** or **clang++ ≥ 19.1** + - macOS: **open source clang++ ≥ 19.1** - e.g. `brew install llvm@19 ninja` - Make or Ninja Extract the [latest pre-built dependencies](https://github.com/legacyclonk/deps/releases/latest) for your platform into a folder called `deps`. diff --git a/autobuild/Mac.sh b/autobuild/Mac.sh index 272042517..73c6e6c0a 100755 --- a/autobuild/Mac.sh +++ b/autobuild/Mac.sh @@ -2,7 +2,7 @@ export HOMEBREW_NO_INSTALL_CLEANUP=1 export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew update -brew install llvm@18 ninja +brew install llvm@19 ninja echo "CMAKE_CONFIGURE_ARGS=-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -DCMAKE_TOOLCHAIN_FILE=$PWD/autobuild/clang16_mac.cmake" >> $GITHUB_ENV cat autobuild/mac_any_cast.h >> src/C4InteractiveThread.h