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 for Power #9346

Closed
wants to merge 1 commit into from
Closed

Conversation

clnperez
Copy link
Contributor

@clnperez clnperez commented Sep 6, 2019

The zip -d flag will error if it doesn't find that extension.
This is a fix for Power, but doesn't fix the default case.

Signed-off-by: Christy Norman christy@linux.vnet.ibm.com

The zip -d flag will error if it doesn't find that extension.
This is a fix for Power, but doesn't fix the default case.

Signed-off-by: Christy Norman <christy@linux.vnet.ibm.com>
@irengrig irengrig added the team-Configurability platforms, toolchains, cquery, select(), config transitions label Sep 11, 2019
@gregestren gregestren requested a review from lberki September 23, 2019 18:14
@gregestren
Copy link
Contributor

Has the default case never worked, then?

@clnperez
Copy link
Contributor Author

Has the default case never worked, then?

@gregestren probably not. that code was introduced 4 months ago. since it's new-ish maybe hasn't been hit until now.

@@ -10,6 +10,12 @@ filegroup(
visibility = ["//src:__pkg__"],
)

config_setting(
name = "linux_ppc",
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldppc should imply Linux? I see there's already precedent for aarch64 so I guess it's not a huge deal.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yah that's just a convention i've seen and stuck with. but you're right, for now bazel doesn't run on aix or i :)

@bazel-io bazel-io closed this in 5cff4f1 Sep 27, 2019
@clnperez
Copy link
Contributor Author

did this get merged? i'm not sure why it's closed

@jin
Copy link
Member

jin commented Oct 1, 2019

yes: 5cff4f1

We don't merge pull requests directly in this repo. They get imported to the internal review system and exported out as commits.

@clnperez
Copy link
Contributor Author

clnperez commented Oct 4, 2019

@jin
Copy link
Member

jin commented Oct 4, 2019

Ah, I see it.

third_party changes need to be broken out from PRs into a separate PR. Please open a new PR containing the change for third_party and I (or @gregestren) can import it manually./

clnperez added a commit to clnperez/bazel that referenced this pull request Oct 4, 2019
The zip -d flag will error if it doesn't find that extension.
This is a fix for Power, but doesn't fix the default case.

Signed-off-by: Christy Norman <christy@linux.vnet.ibm.com>

Closes bazelbuild#9346.

PiperOrigin-RevId: 271566240
clnperez added a commit to clnperez/bazel that referenced this pull request Oct 7, 2019
Pick up the `third_party` portion of PR bazelbuild#9346

Signed-off-by: Christy Norman <christy@linux.vnet.ibm.com>
bazel-io pushed a commit that referenced this pull request Oct 7, 2019
Pick up the `third_party` portion of PR #9346

Signed-off-by: Christy Norman <christy@linux.vnet.ibm.com>
vadorovsky pushed a commit to vadorovsky/bazel that referenced this pull request Oct 15, 2019
The zip -d flag will error if it doesn't find that extension.
This is a fix for Power, but doesn't fix the default case.

Signed-off-by: Christy Norman <christy@linux.vnet.ibm.com>

Closes bazelbuild#9346.

PiperOrigin-RevId: 271566240
bazel-io pushed a commit that referenced this pull request Feb 12, 2020
…ding something to delete)

Build on s390x fails because the process to remove unnecessary libraries from netty was not configured for x86.  As a result, zip -d failed because it had nothing to remove.  This PR does two things:

1.  Adds conditions for s390x to the src and third_party BUILD files, and
2.  Adds a condition to the genrule so that 'zip -d' does not execute if there's nothing to do.

See also Issue #9263; Pull Requests #9346 and #9945

Closes #10643.

PiperOrigin-RevId: 294698707
bazel-io pushed a commit that referenced this pull request Feb 17, 2020
Continuation of PR #10643 for application to third_party directory

Build on s390x fails because the process to remove unnecessary libraries from netty was not configured for x86. As a result, zip -d failed because it had nothing to remove. This PR does two things:

Adds conditions for s390x to the src and third_party BUILD files, and
Adds a condition to the genrule so that 'zip -d' does not execute if there's nothing to do.

See also Issue #9263; Pull Requests #9346 and #9945

Closes #10798.

Signed-off-by: Philipp Wollermann <philwo@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes team-Configurability platforms, toolchains, cquery, select(), config transitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants