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

Normalize C++ action config tool paths based on exec platform OS #22218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented May 2, 2024

Work towards #19208

RELNOTES: Tool paths specified in cc_toolchain action configs are now normalized based on the current execution platform's OS rather than the host OS. In particular, Windows-style absolute paths are now treated as absolute paths when building on a Windows executor from a non-Windows host.

@fmeum fmeum force-pushed the 19208-absolute-path-normalization branch from 9e03d9d to 484d245 Compare May 2, 2024 10:28
RELNOTES: Tool paths specified in `cc_toolchain` action configs are now normalized based on the current execution platform's OS rather than the host OS. In particular, Windows-style absolute paths are now treated as absolute paths when building on a Windows executor from a non-Windows host.
@fmeum fmeum force-pushed the 19208-absolute-path-normalization branch from 484d245 to d119829 Compare May 2, 2024 10:29
@fmeum fmeum marked this pull request as ready for review May 2, 2024 13:26
@fmeum fmeum requested review from a team, lberki and oquenchil as code owners May 2, 2024 13:26
@fmeum fmeum requested review from aranguyen and removed request for a team, oquenchil and aranguyen May 2, 2024 13:26
@github-actions github-actions bot added team-Configurability Issues for Configurability team team-Rules-CPP Issues for C++ rules awaiting-review PR is awaiting review from an assigned reviewer labels May 2, 2024
@fmeum
Copy link
Collaborator Author

fmeum commented May 2, 2024

@lberki I implemented the solution you mentioned as your favorite one in #19208 (comment).

@fmeum
Copy link
Collaborator Author

fmeum commented May 2, 2024

As a follow-up, I would also use this new logic in HeaderDiscovery.

CC @sluongng

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 Issues for Configurability team team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant