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

Final fixes for mac using toolchains properly in py_binary target with bazel head #1191

Merged
merged 6 commits into from
Oct 8, 2019

Conversation

nlopezgi
Copy link
Contributor

@nlopezgi nlopezgi commented Oct 8, 2019

Adds logic to py_toolchains (copied over from cc_configure) to properly decide which cc-compiler-xx target will be produced by Bazel when running on mac.

@nlopezgi nlopezgi changed the title '[DO NOT REVIEW] - Test with Bazel "last green" FInal fixes for mac with bazel head Oct 8, 2019
@nlopezgi nlopezgi changed the title FInal fixes for mac with bazel head Final fixes for mac using toolchains properly in py_binary target with bazel head Oct 8, 2019
@nlopezgi
Copy link
Contributor Author

nlopezgi commented Oct 8, 2019

/gcbrun

nlopezgi referenced this pull request Oct 8, 2019
…1173)

The python toolchain we are registering for execution inside the container seems to be messing up with execution outside the container as documented here https://github.com/bazelbuild/rules_docker#known-issues-1. target_compatible_with should now be supported on all targets, so restricting our toolchain using target_compatible_with should make this error go away.
See #1105
@smukherj1 smukherj1 merged commit a10af78 into bazelbuild:master Oct 8, 2019
@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nlopezgi, smukherj1

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants