File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
utils/swift_build_support/swift_build_support Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ class StdlibDeploymentTarget(object):
116
116
"armv6" ,
117
117
"armv7" ,
118
118
"aarch64" ,
119
- "ppc64 " ,
120
- "ppc64le " ,
119
+ "powerpc64 " ,
120
+ "powerpc64le " ,
121
121
"s390x" ])
122
122
123
123
FreeBSD = Platform ("freebsd" , archs = ["x86_64" ])
@@ -163,9 +163,9 @@ def host_target():
163
163
elif machine == 'aarch64' :
164
164
return StdlibDeploymentTarget .Linux .aarch64
165
165
elif machine == 'ppc64' :
166
- return StdlibDeploymentTarget .Linux .ppc64
166
+ return StdlibDeploymentTarget .Linux .powerpc64
167
167
elif machine == 'ppc64le' :
168
- return StdlibDeploymentTarget .Linux .ppc64le
168
+ return StdlibDeploymentTarget .Linux .powerpc64le
169
169
elif machine == 's390x' :
170
170
return StdlibDeploymentTarget .Linux .s390x
171
171
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ GlibcTestSuite.test("errno") {
27
27
var GlibcIoctlConstants = TestSuite ( " GlibcIoctlConstants " )
28
28
29
29
GlibcIoctlConstants . test ( " tty ioctl constants availability " ) {
30
- let aConstant = TIOCGWINSZ
30
+ let aConstant = TIOCSTI
31
31
}
32
32
33
33
runAllTests ( )
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ struct _${name}Bitmap {
198
198
% if underlyingType == 'UInt':
199
199
#if arch(i386) || arch(arm)
200
200
return Int(Builtin.int_ctpop_Int32(_bits._value))
201
- #elseif arch(x86_64) || arch(arm64)
201
+ #elseif arch(x86_64) || arch(arm64) || arch(powerpc64) || arch(powerpc64le)
202
202
return Int(Builtin.int_ctpop_Int64(_bits._value))
203
203
#endif
204
204
% elif underlyingType == 'UInt32':
You can’t perform that action at this time.
0 commit comments