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

Use the execution platform to determine which genrule.cmd* to run. #18590

Closed
wants to merge 1 commit into from

Conversation

tjgq
Copy link
Contributor

@tjgq tjgq commented Jun 6, 2023

Currently the host platform is used, which fails when using a Windows remote executor from a non-Windows host.

Also change GenRuleWindowsConfiguredTargetTest to run on every host platform.

Fixes #18584.

Currently the host platform is used, which fails when using a Windows remote
executor from a non-Windows host.

Also change GenRuleWindowsConfiguredTargetTest to run on every host platform.

Fixes bazelbuild#18584.
@tjgq tjgq force-pushed the win-remote-exec branch from 36cc2d1 to a92a50d Compare June 6, 2023 12:32
@tjgq tjgq marked this pull request as ready for review June 6, 2023 12:32
@tjgq tjgq requested review from a team and lberki as code owners June 6, 2023 12:32
@tjgq tjgq requested review from aranguyen and removed request for a team June 6, 2023 12:32
@github-actions github-actions bot added awaiting-review PR is awaiting review from an assigned reviewer team-Configurability platforms, toolchains, cquery, select(), config transitions labels Jun 6, 2023
@tjgq
Copy link
Contributor Author

tjgq commented Jun 6, 2023

@katre can you please review this? I'm not sure that I'm using the right approach.

Copy link
Member

@katre katre left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@copybara-service copybara-service bot closed this in c64fa6d Jun 6, 2023
@tjgq tjgq deleted the win-remote-exec branch March 7, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review PR is awaiting review from an assigned reviewer team-Configurability platforms, toolchains, cquery, select(), config transitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

genrule chooses script based on host platform rather than execution platform
2 participants