From f84079bb71ad589641657fc8200d4fc02a72a72a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 13 Dec 2024 09:50:08 +0200 Subject: [PATCH] macos: Bump the minimum deployment target to macOS 10.12 Since https://github.com/llvm/llvm-project/pull/117252 and https://github.com/llvm/llvm-project/commit/186fac33d08b34be494caa58fe63972f69c6d6ab, part of the latest git main branch, LLDB uses std::shared_mutex. On macOS, std::shared_mutex is only available since macOS 10.12. This change raises the deployment target from 10.9 to 10.12. --- build-lldb-mi.sh | 2 +- build-llvm.sh | 2 +- build-mingw-w64-tools.sh | 2 +- install-wrappers.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build-lldb-mi.sh b/build-lldb-mi.sh index 042ef4b..9a59ef8 100755 --- a/build-lldb-mi.sh +++ b/build-lldb-mi.sh @@ -111,7 +111,7 @@ fi if [ -n "$MACOS_REDIST" ]; then : ${MACOS_REDIST_ARCHS:=arm64 x86_64} - : ${MACOS_REDIST_VERSION:=10.9} + : ${MACOS_REDIST_VERSION:=10.12} ARCH_LIST="" NATIVE= for arch in $MACOS_REDIST_ARCHS; do diff --git a/build-llvm.sh b/build-llvm.sh index 7b0f9dd..f1133dc 100755 --- a/build-llvm.sh +++ b/build-llvm.sh @@ -248,7 +248,7 @@ fi if [ -n "$MACOS_REDIST" ]; then : ${MACOS_REDIST_ARCHS:=arm64 x86_64} - : ${MACOS_REDIST_VERSION:=10.9} + : ${MACOS_REDIST_VERSION:=10.12} ARCH_LIST="" NATIVE= for arch in $MACOS_REDIST_ARCHS; do diff --git a/build-mingw-w64-tools.sh b/build-mingw-w64-tools.sh index 1d23834..a7ff8e2 100755 --- a/build-mingw-w64-tools.sh +++ b/build-mingw-w64-tools.sh @@ -79,7 +79,7 @@ if [ -n "$MACOS_REDIST" ]; then CFLAGS="-g -O2" fi : ${MACOS_REDIST_ARCHS:=arm64 x86_64} - : ${MACOS_REDIST_VERSION:=10.9} + : ${MACOS_REDIST_VERSION:=10.12} NONNATIVE_ARCH= for arch in $MACOS_REDIST_ARCHS; do CFLAGS="$CFLAGS -arch $arch" diff --git a/install-wrappers.sh b/install-wrappers.sh index 8a618a2..b0f4a8e 100755 --- a/install-wrappers.sh +++ b/install-wrappers.sh @@ -104,7 +104,7 @@ fi if [ -n "$MACOS_REDIST" ]; then : ${MACOS_REDIST_ARCHS:=arm64 x86_64} - : ${MACOS_REDIST_VERSION:=10.9} + : ${MACOS_REDIST_VERSION:=10.12} for arch in $MACOS_REDIST_ARCHS; do WRAPPER_FLAGS="$WRAPPER_FLAGS -arch $arch" done