-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
enhancementNew feature or improvementNew feature or improvement
Description
your feature request related to a problem? Please describe.
GOARCH=riscv64 go build ./cmd/golangci-lint
fails with:
/go/pkg/mod/github.com/prometheus/procfs@v0.1.3/cpuinfo.go:71:9: undefined: parseCPUInfo
Describe the solution you'd like.
I expect golangci-lint to be buildable for riscv64 as it is for all other platforms.
There is the dependency github.com/prometheus/procfs
which added support for riscv64 in v0.6.0
(prometheus/procfs@910e685)
golangci-lint probably depends on many dependencies using versions pre-v0.6.0 of procfs so it's more of a long shot than something that can be fixed in a single PR I believe.
Describe alternatives you've considered.
go mod edit -replace=github.com/prometheus/procfs=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.
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvementNew feature or improvement