[llvm-branch-commits] [compiler-rt] backport to release/17.x (PR #94397)

Mariusz Borsa via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jun 4 13:22:57 PDT 2024


https://github.com/wrotki created https://github.com/llvm/llvm-project/pull/94397

The greendragon was recently moved and now it runs on somewhat newer macOS
version - which breaks some sanitizers tests

rdar://125052915
(cherry picked from commit 2347384476d680f5c7e5ba37d5834b2a1c8282f2)


>From 7cb964cf203d1253510c343254788ee16978c51b Mon Sep 17 00:00:00 2001
From: Mariusz Borsa <m_borsa at apple.com>
Date: Wed, 20 Mar 2024 16:15:47 -0700
Subject: [PATCH] [Sanitizers][Darwin] Bump up
 DEFAULT_SANITIZER_MIN_OSX_VERSION

The greendragon was recently moved and now it runs on somewhat newer macOS
version - which breaks some sanitizers tests

rdar://125052915
(cherry picked from commit 2347384476d680f5c7e5ba37d5834b2a1c8282f2)
---
 compiler-rt/cmake/config-ix.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake
index 8d3dc8d208b25..9243dcd5e93e0 100644
--- a/compiler-rt/cmake/config-ix.cmake
+++ b/compiler-rt/cmake/config-ix.cmake
@@ -446,7 +446,7 @@ if(APPLE)
 
   # Note: In order to target x86_64h on OS X the minimum deployment target must
   # be 10.8 or higher.
-  set(DEFAULT_SANITIZER_MIN_OSX_VERSION 10.10)
+  set(DEFAULT_SANITIZER_MIN_OSX_VERSION 10.13)
   set(DARWIN_osx_MIN_VER_FLAG "-mmacosx-version-min")
   if(NOT SANITIZER_MIN_OSX_VERSION)
     string(REGEX MATCH "${DARWIN_osx_MIN_VER_FLAG}=([.0-9]+)"



More information about the llvm-branch-commits mailing list