Skip to content

Adding changes to support s390x#107

Merged
sdurrheimer merged 1 commit intoprometheus:masterfrom
linux-on-ibm-z:promu-s390x
Sep 24, 2018
Merged

Adding changes to support s390x#107
sdurrheimer merged 1 commit intoprometheus:masterfrom
linux-on-ibm-z:promu-s390x

Conversation

@duane-ibm
Copy link
Contributor

Added changes for building promu on s390x. Also modified the crossbuild.go to add s390x support.
Can someone please review the changes?

"openbsd/arm": {"openbsd/armv7"},
"netbsd/arm": {"netbsd/armv6", "netbsd/armv7"},
}
defaultS390XPlatforms = []string{
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to call this defaultS390Platforms, just in case we ever add support for both s390 and s390x? Or is that silly?

Copy link
Contributor Author

@duane-ibm duane-ibm Sep 20, 2018

Choose a reason for hiding this comment

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

Maybe we can do away with the default? I guess s390xPlatforms is already used in method runCrossbuild.
Dont think we would add support for s390.

Copy link
Member

Choose a reason for hiding this comment

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

No, it should be defaultS390Platforms. It also needs to be moved up to below defaultMIPSPlatforms.

@SuperQ
Copy link
Member

SuperQ commented Sep 19, 2018

Don't forget to update doc/examples/.promu.yml.

Signed-off-by: duane-ibm <duaned@us.ibm.com>
@duane-ibm
Copy link
Contributor Author

Done. Please review.

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

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

LGTM

@sdurrheimer sdurrheimer merged commit 7c3c9b5 into prometheus:master Sep 24, 2018
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