Merge pull request #19626 from michalbiesek/feat-riscv64-support

Add riscv64 support for cross compilation
This commit is contained in:
OpenShift Merge Robot 2023-08-16 06:45:37 -02:30 committed by GitHub
commit 7836401c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -160,6 +160,7 @@ CROSS_BUILD_TARGETS := \
bin/podman.cross.linux.mipsle \
bin/podman.cross.linux.mips64 \
bin/podman.cross.linux.mips64le \
bin/podman.cross.linux.riscv64 \
bin/podman.cross.freebsd.amd64 \
bin/podman.cross.freebsd.arm64

View File

@ -192,6 +192,8 @@ func GetFcosArch() string {
switch runtime.GOARCH {
case "arm64":
arch = "aarch64"
case "riscv64":
arch = "riscv64"
default:
arch = "x86_64"
}