[compiler-rt] badf0ee - Remove maximum OSX version for sanitizers (#77543)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 10:11:29 PST 2024
Author: Chris Apple
Date: 2024-01-17T10:11:26-08:00
New Revision: badf0ee80c2b53bbc227f5d12c74819c01ceaf3c
URL: https://github.com/llvm/llvm-project/commit/badf0ee80c2b53bbc227f5d12c74819c01ceaf3c
DIFF: https://github.com/llvm/llvm-project/commit/badf0ee80c2b53bbc227f5d12c74819c01ceaf3c.diff
LOG: Remove maximum OSX version for sanitizers (#77543)
Remove a block preventing newer versions of the MacOS SDK from being
selected for compiling the sanitizers.
Added:
Modified:
compiler-rt/cmake/config-ix.cmake
Removed:
################################################################################
diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake
index 142ab60f7152dbc..2ca18ebb4ad4896 100644
--- a/compiler-rt/cmake/config-ix.cmake
+++ b/compiler-rt/cmake/config-ix.cmake
@@ -479,11 +479,6 @@ if(APPLE)
if(MIN_OSX_VERSION VERSION_LESS "10.7")
message(FATAL_ERROR "macOS deployment target '${SANITIZER_MIN_OSX_VERSION}' is too old.")
endif()
- if(MIN_OSX_VERSION VERSION_GREATER ${DEFAULT_SANITIZER_MIN_OSX_VERSION})
- message(WARNING "macOS deployment target '${SANITIZER_MIN_OSX_VERSION}' is too new, setting to '${DEFAULT_SANITIZER_MIN_OSX_VERSION}' instead.")
- set(MIN_OSX_VERSION ${DEFAULT_SANITIZER_MIN_OSX_VERSION})
- endif()
-
endif()
set(SANITIZER_MIN_OSX_VERSION "${MIN_OSX_VERSION}" CACHE STRING
More information about the llvm-commits
mailing list