File tree 1 file changed +6
-5
lines changed
compiler-rt/cmake/Modules
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)
136
136
137
137
# The simple program will build for x86_64h on the simulator because it is
138
138
# 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.
140
140
if (${os} MATCHES "^(iossim|tvossim|watchossim)$" )
141
141
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" )
146
147
endif ()
147
148
148
149
if (${os} MATCHES "^ios$" )
You can’t perform that action at this time.
0 commit comments