Skip to content

Commit 51e6c7f

Browse files
committed
add (os,arch) linux-riscv64
1 parent 68ffc47 commit 51e6c7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/bob/bobfile.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ type OsArchesSpec struct {
5151
LinuxAmd64 bool `json:"linux-amd64"`
5252
LinuxArm bool `json:"linux-arm"`
5353
LinuxArm64 bool `json:"linux-arm64"`
54+
LinuxRiscv64 bool `json:"linux-riscv64"`
5455
WindowsNeutral bool `json:"windows-neutral"` // works on Windows, arch doesn't matter
5556
WindowsAmd64 bool `json:"windows-amd64"`
5657
DarwinAmd64 bool `json:"darwin-amd64"`
@@ -74,6 +75,7 @@ func (o *OsArchesSpec) AsBuildEnvVariables() []string {
7475
maybeAppend(o.LinuxAmd64, "BUILD_LINUX_AMD64")
7576
maybeAppend(o.LinuxArm, "BUILD_LINUX_ARM")
7677
maybeAppend(o.LinuxArm64, "BUILD_LINUX_ARM64")
78+
maybeAppend(o.LinuxRiscv64, "BUILD_LINUX_RISCV64")
7779

7880
maybeAppend(o.DarwinAmd64, "BUILD_DARWIN_AMD64")
7981

0 commit comments

Comments
 (0)