From: usama hameed Date: Wed, 11 Jan 2023 01:54:46 +0000 (-0800) Subject: [CompilerRT] Remove sanitizer support for i386 iossim X-Git-Tag: upstream/17.0.6~20644 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4729f6e03a12b0f3613416dc6f65407afa7e8f19;p=platform%2Fupstream%2Fllvm.git [CompilerRT] Remove sanitizer support for i386 iossim Summary: This patch removes building sanitizers for i386 iossim. This is to reduce the toolchain size. Reviewers: Subscribers: --- diff --git a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake index e372da0..a826c51 100644 --- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake +++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake @@ -142,6 +142,11 @@ function(darwin_test_archs os valid_archs) list(REMOVE_ITEM archs "x86_64h") endif() + if(${os} MATCHES "iossim") + message(STATUS "Disabling i386 slice for iossim") + list(REMOVE_ITEM archs "i386") + endif() + set(working_archs) foreach(arch ${archs})