Skip to content

Commit

Permalink
macos: Bump the minimum deployment target to macOS 10.12
Browse files Browse the repository at this point in the history
Since llvm/llvm-project#117252 and
llvm/llvm-project@186fac3,
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.
  • Loading branch information
mstorsjo committed Dec 13, 2024
1 parent 5fe69a9 commit f84079b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-lldb-mi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build-llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build-mingw-w64-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion install-wrappers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f84079b

Please sign in to comment.