Skip to content

Conversation

@mattem
Copy link
Collaborator

@mattem mattem commented Apr 28, 2022

Follow up from #12 (comment)

@mattem mattem requested review from alexeagle and gregmagolan April 28, 2022 01:24
Copy link
Member

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

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

I think you should still declare the sh toolchain as a dependency... though I am not sure why

@mattem mattem force-pushed the fix/sh_toolchain branch from 67827d7 to ec45fdf Compare April 29, 2022 01:36
@mattem mattem requested a review from alexeagle April 29, 2022 20:03
load("//py/private/venv:venv.bzl", _py_venv = "py_venv_utils")

def _py_binary_rule_imp(ctx):
bash_bin = ctx.toolchains[SH_TOOLCHAIN].path
Copy link
Member

Choose a reason for hiding this comment

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

feels like we should leave a comment - I'm not that confident we've got it correct yet. this might just be a workaround for RBE not having the bash toolchain defined.

@mattem
Copy link
Collaborator Author

mattem commented May 20, 2022

I'm not convinced this is the right thing, so I'm going to close this. If someone convinces me that this is right fix, rather than registering the right toolchain on RBE, then we can reopen.

@mattem mattem closed this May 20, 2022
@mattem mattem deleted the fix/sh_toolchain branch May 20, 2022 21:15
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