Skip to content

Commit 38b2f8b

Browse files
committed
build-script: Allow building other deployment targets on macos arm64
Enable ./build-script ... --ios --tvos --watchos on macos arm64 hosts.
1 parent 8979602 commit 38b2f8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/build-script

+2-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ def default_stdlib_deployment_targets(args):
263263
# OS X build machines configure all Darwin platforms by default.
264264
# Put iOS native targets last so that we test them last
265265
# (it takes a long time).
266-
if host_target == StdlibDeploymentTarget.OSX.x86_64:
266+
if host_target == StdlibDeploymentTarget.OSX.x86_64 or \
267+
host_target == StdlibDeploymentTarget.OSX.arm64:
267268
targets = [host_target]
268269
if args.build_ios and args.build_ios_simulator:
269270
targets.extend(StdlibDeploymentTarget.iOSSimulator.targets)

0 commit comments

Comments
 (0)