Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add riscv64 as supported architecture on linux #66530

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions utils/build-script-impl
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ function verify_host_is_supported() {
| linux-powerpc \
| linux-powerpc64 \
| linux-powerpc64le \
| linux-riscv64 \
| linux-s390x \
| macosx-x86_64 \
| macosx-arm64 \
Expand Down
3 changes: 3 additions & 0 deletions utils/swift_build_support/swift_build_support/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ class StdlibDeploymentTarget(object):
"powerpc",
"powerpc64",
"powerpc64le",
"riscv64",
"s390x"])

FreeBSD = Platform("freebsd", archs=["x86_64"])
Expand Down Expand Up @@ -361,6 +362,8 @@ def host_target():
return StdlibDeploymentTarget.Linux.powerpc64
elif machine == 'ppc64le':
return StdlibDeploymentTarget.Linux.powerpc64le
elif machine == 'riscv64':
return StdlibDeploymentTarget.Linux.riscv64
elif machine == 's390x':
return StdlibDeploymentTarget.Linux.s390x

Expand Down