File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
compiler-rt/cmake/Modules Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -136,13 +136,14 @@ function(darwin_test_archs os valid_archs)
136136
137137 # The simple program will build for x86_64h on the simulator because it is
138138 # compatible with x86_64 libraries (mostly), but since x86_64h isn't actually
139- # a valid or useful architecture for the simulators. We should drop it.
139+ # a valid or useful architecture for the iOS simulator we should drop it.
140140 if (${os} MATCHES "^(iossim|tvossim|watchossim)$" )
141141 list (REMOVE_ITEM archs "x86_64h" )
142- if ("i386" IN_LIST archs)
143- list (REMOVE_ITEM archs "i386" )
144- message (STATUS "Disabling i386 slice for simulator" )
145- endif ()
142+ endif ()
143+
144+ if (${os} MATCHES "iossim" )
145+ message (STATUS "Disabling i386 slice for iossim" )
146+ list (REMOVE_ITEM archs "i386" )
146147 endif ()
147148
148149 if (${os} MATCHES "^ios$" )
You can’t perform that action at this time.
0 commit comments