Skip to content

Commit

Permalink
add (os,arch) linux-riscv64
Browse files Browse the repository at this point in the history
  • Loading branch information
joonas-fi committed Dec 29, 2022
1 parent 68ffc47 commit 51e6c7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/bob/bobfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type OsArchesSpec struct {
LinuxAmd64 bool `json:"linux-amd64"`
LinuxArm bool `json:"linux-arm"`
LinuxArm64 bool `json:"linux-arm64"`
LinuxRiscv64 bool `json:"linux-riscv64"`
WindowsNeutral bool `json:"windows-neutral"` // works on Windows, arch doesn't matter
WindowsAmd64 bool `json:"windows-amd64"`
DarwinAmd64 bool `json:"darwin-amd64"`
Expand All @@ -74,6 +75,7 @@ func (o *OsArchesSpec) AsBuildEnvVariables() []string {
maybeAppend(o.LinuxAmd64, "BUILD_LINUX_AMD64")
maybeAppend(o.LinuxArm, "BUILD_LINUX_ARM")
maybeAppend(o.LinuxArm64, "BUILD_LINUX_ARM64")
maybeAppend(o.LinuxRiscv64, "BUILD_LINUX_RISCV64")

maybeAppend(o.DarwinAmd64, "BUILD_DARWIN_AMD64")

Expand Down

0 comments on commit 51e6c7f

Please sign in to comment.