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 @@ -470,6 +470,7 @@ function verify_host_is_supported() {
470
470
| linux-powerpc \
471
471
| linux-powerpc64 \
472
472
| linux-powerpc64le \
473
+ | linux-riscv64 \
473
474
| linux-s390x \
474
475
| macosx-x86_64 \
475
476
| 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" , "arm64" ])
@@ -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