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

Remove passing lists of args to genrule #67

Merged
merged 2 commits into from
Nov 4, 2020

Conversation

keith
Copy link
Member

@keith keith commented Oct 30, 2020

This is required for this migration bazelbuild/bazel#5903

@@ -446,16 +446,6 @@ def _run_shell(
actions = actions,
)

# TODO(b/77637734) remove "workaround" once the bazel issue is resolved.
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't have insight into if this is closed yet

keith referenced this pull request in bazelbuild/rules_apple Oct 30, 2020
incompatiblity with Bazel at HEAD.

Disable this for now because apple_support currently relies on a
workaround that needs to be able to pass a sequence of strings to
actions.run_shell's 'command'.
@@ -80,7 +80,7 @@ def _apple_genrule_impl(ctx):
inputs = resolved_srcs.to_list() + resolved_inputs,
outputs = files_to_build.to_list(),
env = ctx.configuration.default_shell_env,
command = argv,
command = " ".join(argv),

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

looks like that overquotes

@keith keith force-pushed the ks/remove-passing-lists-of-args-to-genrule branch from 066a737 to b7047fa Compare November 4, 2020 18:36
@keith keith marked this pull request as ready for review November 4, 2020 18:45
@keith keith merged commit 4103ed6 into master Nov 4, 2020
@keith keith deleted the ks/remove-passing-lists-of-args-to-genrule branch November 4, 2020 18:53
keith referenced this pull request Mar 4, 2024
PiperOrigin-RevId: 599585682
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants