There is the dependency github.com/prometheus/procfs which added support for riscv64 in v0.6.0 (prometheus/procfs@910e685)
Currently trying to build for riscv64:
GOARCH=riscv64 go build ./cmd/buildx
will fail with
/go/pkg/mod/github.com/prometheus/procfs@v0.1.3/cpuinfo.go:71:9: undefined: parseCPUInfo
buildx probably depends on many dependencies using versions before v0.6.0 so it's more of a long shot than something that can be fixed in a single PR I believe. Although
go get github.com/prometheus/procfs@v0.6.0
go mod tidy
Fixes the build, but probably in a risky-ish way I guess. Not a priority issue at all, but I thought it would be useful to track it.
There is the dependency
github.com/prometheus/procfswhich added support for riscv64 inv0.6.0(prometheus/procfs@910e685)Currently trying to build for riscv64:
will fail with
buildx probably depends on many dependencies using versions before v0.6.0 so it's more of a long shot than something that can be fixed in a single PR I believe. Although
Fixes the build, but probably in a risky-ish way I guess. Not a priority issue at all, but I thought it would be useful to track it.