Skip to content

Commit 3b74951

Browse files
committed
[Apple Silicon] [build-script] Support stdlib macOS arm64/arm64e
1 parent 885ef36 commit 3b74951

File tree

1 file changed

+4
-0
lines changed
  • utils/swift_build_support/swift_build_support

1 file changed

+4
-0
lines changed

utils/swift_build_support/swift_build_support/targets.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ def host_target():
219219
elif system == 'Darwin':
220220
if machine == 'x86_64':
221221
return StdlibDeploymentTarget.OSX.x86_64
222+
elif machine == 'arm64':
223+
return StdlibDeploymentTarget.OSX.arm64
224+
elif machine == 'arm64e':
225+
return StdlibDeploymentTarget.OSX.arm64e
222226

223227
elif system == 'FreeBSD':
224228
if machine == 'amd64':

0 commit comments

Comments
 (0)