Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build on RISCV #325

Merged
merged 1 commit into from
Nov 2, 2020
Merged

Conversation

tklauser
Copy link
Contributor

@tklauser tklauser commented Sep 7, 2020

PR #318 forgot to wire parseCPUInfo to parseCPUInfoRISCV on
GOARCH=riscv{,64}, leading to a build/test failure:

./cpuinfo.go:71:9: undefined: parseCPUInfo
./cpuinfo_test.go:222:2: undefined: parseCPUInfo

/cc @discordianfish @SuperQ

PR prometheus#318 forgot to wire parseCPUInfo to parseCPUInfoRISCV on
GOARCH=riscv{,64}, leading to a build/test failure:

./cpuinfo.go:71:9: undefined: parseCPUInfo
./cpuinfo_test.go:222:2: undefined: parseCPUInfo

Signed-off-by: Tobias Klauser <[email protected]>
Copy link
Member

@discordianfish discordianfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tklauser
Copy link
Contributor Author

Ping, could this PR please be merged by someone with write access to the repo? Thanks!

@discordianfish discordianfish merged commit 910e685 into prometheus:master Nov 2, 2020
@tklauser tklauser deleted the cpuinfo-riscv-fix branch November 2, 2020 10:38
@DavidBurela
Copy link

Thanks, I just hit this issues with version 0.1.3.
Great to see it has already been addressed.

@tklauser
Copy link
Contributor Author

tklauser commented Dec 8, 2020

@discordianfish, @SuperQ would it be possible to tag a new release with this PR included? Currently, the latest release https://github.com/prometheus/procfs/releases/tag/v0.2.0 is broken on linux/riscv64.

zhsj added a commit to zhsj/client_golang that referenced this pull request Jan 22, 2021
Cori1109 added a commit to Cori1109/client_golang that referenced this pull request Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants