-
Notifications
You must be signed in to change notification settings - Fork 694
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
Add s390x support to load puller and loader binary #1661
Add s390x support to load puller and loader binary #1661
Conversation
@alex1545 @smukherj1 Could you please have a look ? |
container/load.bzl
Outdated
if repository_ctx.os.name.lower().startswith("mac os"): | ||
loader = repository_ctx.attr._loader_darwin | ||
arch = repository_ctx.execute(["uname", "-m"]).stdout.strip() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately this will most likely break on Windows. Also given we don't have a Windows CI, it'll be hard to validate either way.
I think I want to stay away from having to maintain platform specific ways of detecting the architecture. Instead could you add a new attribute that defaults to amd64 but could be explicitly specified to be s390x?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@smukherj1 Please review updated load.bzl
and pull.bzl
files.
9ed06ef
to
2e02e42
Compare
/gcbrun |
Actually buildkite CI is failing. Could you fix the formatting errors reported by buildifier? |
2e02e42
to
85c0cac
Compare
@smukherj1 Fixed formatting errors. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: smukherj1, srajmane The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/gcbrun |
No description provided.