Skip to content

cpuinfo: fix platform constraints - #288

Merged
pgier merged 1 commit into
prometheus:masterfrom
pgier:cpuinfo-multi-platform-bug-fixes
May 7, 2020
Merged

pgier merged 1 commit into
prometheus:masterfrom
pgier:cpuinfo-multi-platform-bug-fixes

Conversation

@pgier

@pgier pgier commented May 6, 2020

Copy link
Copy Markdown
Contributor

Fix issues with platform constraints found by @mfraioli

@SuperQ SuperQ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@discordianfish

Copy link
Copy Markdown
Member

Ugh, I wish we had a way to test this.

@mfraioli

mfraioli commented May 7, 2020

Copy link
Copy Markdown

I have access to ppc and s390 build systems that can verify it. But since we're picking this up as a dependency of a dependency, it's hard for me to pick up a branch rather than the master. If you go ahead and merge it I can verify quickly. Since it's already broken, this at least shouldn't make it any worse.

@mfraioli

mfraioli commented May 7, 2020

Copy link
Copy Markdown

For reference description of the issues is in #257

@pgier
pgier merged commit 9dad2ca into prometheus:master May 7, 2020
@mfraioli

mfraioli commented May 7, 2020

Copy link
Copy Markdown

Thanks @pgier this built successfully on my ppc64le and s390x systems!

@discordianfish

Copy link
Copy Markdown
Member

Yeah manual verification is one thing but maybe it's worth investing in a qemu based setup to test all supported platforms. But after spending some hours just trying to get freebsd/x86 working I kinda gave up on that.

remijouannet pushed a commit to remijouannet/procfs that referenced this pull request Oct 20, 2022
…ug-fixes

cpuinfo: fix platform constraints
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.

4 participants