Skip to content

Commit c69b824

Browse files
committed
Use "powerpc64{le}" instead of "ppc64{le}"
A mix of "powerpc64" and "ppc64" existed, causing build failures. Standardise on "powerpc64" and "powerpc64le", which are commonly used in target triples, such as those generated by config.guess. Signed-off-by: Russell Currey <[email protected]>
1 parent f98ff6a commit c69b824

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

utils/swift_build_support/swift_build_support/targets.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ class StdlibDeploymentTarget(object):
116116
"armv6",
117117
"armv7",
118118
"aarch64",
119-
"ppc64",
120-
"ppc64le",
119+
"powerpc64",
120+
"powerpc64le",
121121
"s390x"])
122122

123123
FreeBSD = Platform("freebsd", archs=["x86_64"])
@@ -163,9 +163,9 @@ def host_target():
163163
elif machine == 'aarch64':
164164
return StdlibDeploymentTarget.Linux.aarch64
165165
elif machine == 'ppc64':
166-
return StdlibDeploymentTarget.Linux.ppc64
166+
return StdlibDeploymentTarget.Linux.powerpc64
167167
elif machine == 'ppc64le':
168-
return StdlibDeploymentTarget.Linux.ppc64le
168+
return StdlibDeploymentTarget.Linux.powerpc64le
169169
elif machine == 's390x':
170170
return StdlibDeploymentTarget.Linux.s390x
171171

0 commit comments

Comments
 (0)