File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -154,15 +154,9 @@ def auto_archs(platform: PlatformName) -> "set[Architecture]":
154154 elif platform == "ios" :
155155 # iOS defaults to building all targets with the same CPU architecture
156156 # as the native simulator architecture
157- if native_arch == Architecture .x86_64_iphonesimulator :
158- result = {
159- Architecture .x86_64_iphonesimulator ,
160- }
161- else :
162- result = {
163- Architecture .arm64_iphonesimulator ,
164- Architecture .arm64_iphoneos ,
165- }
157+ # build actual iOS wheels on arm64
158+ if native_arch == Architecture .arm64_iphonesimulator :
159+ result .add (Architecture .arm64_iphoneos )
166160
167161 return result
168162
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ def cross_virtualenv(
166166 environment.
167167
168168 :param py_version: The Python version (major.minor) in use
169- :param target_python: The path to the python binary for the targret platform
169+ :param target_python: The path to the python binary for the target platform
170170 :param multiarch: The multiarch tag for the target platform (i.e., the value
171171 of `sys.implementation._multiarch`)
172172 :param build_python: The path to the python binary for the build platform
You can’t perform that action at this time.
0 commit comments