File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
swift_build_support/swift_build_support Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -465,6 +465,7 @@ function verify_host_is_supported() {
465
465
| linux-powerpc \
466
466
| linux-powerpc64 \
467
467
| linux-powerpc64le \
468
+ | linux-riscv64 \
468
469
| linux-s390x \
469
470
| macosx-x86_64 \
470
471
| macosx-arm64 \
Original file line number Diff line number Diff line change @@ -275,6 +275,7 @@ class StdlibDeploymentTarget(object):
275
275
"powerpc" ,
276
276
"powerpc64" ,
277
277
"powerpc64le" ,
278
+ "riscv64" ,
278
279
"s390x" ])
279
280
280
281
FreeBSD = Platform ("freebsd" , archs = ["x86_64" ])
@@ -361,6 +362,8 @@ def host_target():
361
362
return StdlibDeploymentTarget .Linux .powerpc64
362
363
elif machine == 'ppc64le' :
363
364
return StdlibDeploymentTarget .Linux .powerpc64le
365
+ elif machine == 'riscv64' :
366
+ return StdlibDeploymentTarget .Linux .riscv64
364
367
elif machine == 's390x' :
365
368
return StdlibDeploymentTarget .Linux .s390x
366
369
You can’t perform that action at this time.
0 commit comments