From bb9dedfa8a5205d512e71ae462e77ba4e482e8d4 Mon Sep 17 00:00:00 2001 From: Kuba Mracek Date: Thu, 21 Jun 2018 15:21:24 +0000 Subject: [PATCH] [sanitizer] Stop running tests against 32-bit iOS simulator llvm-svn: 335245 --- compiler-rt/test/lit.common.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler-rt/test/lit.common.cfg b/compiler-rt/test/lit.common.cfg index e34e52583b9d..79229e3008d9 100644 --- a/compiler-rt/test/lit.common.cfg +++ b/compiler-rt/test/lit.common.cfg @@ -240,6 +240,11 @@ if config.host_os == 'Darwin': # rdar://problem/22207160 config.substitutions.append( ("%darwin_min_target_with_full_runtime_arc_support", "-miphoneos-version-min=9.0" if isIOS else "-mmacosx-version-min=10.11") ) + + # 32-bit iOS simulator is deprecated and removed in latest Xcode. + if config.apple_platform == "iossim": + if config.target_arch == "i386": + config.unsupported = True else: config.substitutions.append( ("%macos_min_target_10_11", "") ) config.substitutions.append( ("%darwin_min_target_with_full_runtime_arc_support", "") )