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

Heuristically path map copts and defines #23630

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Sep 16, 2024

This allows path mapping to apply to actions that reference execpaths in custom compiler options via location expansion.

Work towards #6526

This allows path mapping to apply to actions that reference execpaths in custom compiler options via location expansion.
@fmeum fmeum requested review from a team and lberki as code owners September 16, 2024 11:37
@fmeum fmeum requested review from aranguyen and removed request for a team September 16, 2024 11:37
@github-actions github-actions bot added team-Performance Issues for Performance teams team-Configurability platforms, toolchains, cquery, select(), config transitions team-Rules-CPP Issues for C++ rules awaiting-review PR is awaiting review from an assigned reviewer labels Sep 16, 2024
@fmeum fmeum requested review from comius, a team and gregestren and removed request for lberki, aranguyen, a team and gregestren September 16, 2024 11:46
@fmeum fmeum removed team-Performance Issues for Performance teams team-Configurability platforms, toolchains, cquery, select(), config transitions labels Sep 16, 2024
@keith
Copy link
Member

keith commented Sep 19, 2024

verified that this works on our project which has lots of random uses of things like -I$(GENDIR) etc

@fmeum
Copy link
Collaborator Author

fmeum commented Sep 19, 2024

@bazel-io fork 7.4.0

@comius comius added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Sep 23, 2024
@copybara-service copybara-service bot closed this in b4b35af Oct 1, 2024
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Oct 1, 2024
@fmeum fmeum deleted the 6526-copts branch October 1, 2024 10:35
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Oct 2, 2024
This allows path mapping to apply to actions that reference execpaths in custom compiler options via location expansion.

Work towards bazelbuild#6526

Closes bazelbuild#23630.

PiperOrigin-RevId: 680941133
Change-Id: Ia10e2df481dcfe4480cbf9dfb1e12ec3b07d8ab2
github-merge-queue bot pushed a commit that referenced this pull request Oct 9, 2024
This allows path mapping to apply to actions that reference execpaths in
custom compiler options via location expansion.

Work towards #6526

Closes #23630.

PiperOrigin-RevId: 680941133
Change-Id: Ia10e2df481dcfe4480cbf9dfb1e12ec3b07d8ab2

Commit
b4b35af

Co-authored-by: Fabian Meumertzheim <[email protected]>
@iancha1992
Copy link
Member

The changes in this PR have been included in Bazel 7.4.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=7.4.0rc1. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants