Skip to content

Commit be35333

Browse files
committed
[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:
1 parent 6a4233c commit be35333

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ function(darwin_test_archs os valid_archs)
142142
list(REMOVE_ITEM archs "x86_64h")
143143
endif()
144144

145+
if(${os} MATCHES "iossim")
146+
message(STATUS "Disabling i386 slice for iossim")
147+
list(REMOVE_ITEM archs "i386")
148+
endif()
149+
145150
set(working_archs)
146151
foreach(arch ${archs})
147152

0 commit comments

Comments
 (0)