-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add path mapping support for C++ compile action templates #22890
Conversation
@keith Any idea why this test may be failing on macOS?
Does Apple lld not support |
Apple's linker does not support start-lib/end-lib. ld64.lld from llvm does since looks like version 14+ |
@keith I added |
looks like it's the remote only test (at least on the last failure), isn't this where the remote executor has to duplicate the logic around setting DEVELOPER_DIR? |
82ef24e
to
d34c65d
Compare
d34c65d
to
2584270
Compare
@bazel-io fork 7.3.0 |
@bazel-io fork 7.4.0 |
C++ action templates are now properly path mapped. Since the default Unix toolchain doesn't support object file groups on macOS, `apple_support` is needed in the test. This requires wiring up `LocalEnvProvider` in the remote worker to get `DEVELOPER_DIR` to be set, which in turn requires improving the runfiles handling for the the worker. Work towards bazelbuild#6526 Closes bazelbuild#22890. PiperOrigin-RevId: 657733074 Change-Id: I132e338d7a44964a8a1aad3062a5c9a4c8e79e57
…3349) C++ action templates are now properly path mapped. Since the default Unix toolchain doesn't support object file groups on macOS, `apple_support` is needed in the test. This requires wiring up `LocalEnvProvider` in the remote worker to get `DEVELOPER_DIR` to be set, which in turn requires improving the runfiles handling for the the worker. Work towards #6526 Closes #22890. PiperOrigin-RevId: 657733074 Change-Id: I132e338d7a44964a8a1aad3062a5c9a4c8e79e57 Commit 23f3be0 Co-authored-by: Googler <[email protected]>
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. |
C++ action templates are now properly path mapped.
Since the default Unix toolchain doesn't support object file groups on macOS,
apple_support
is needed in the test. This requires wiring upLocalEnvProvider
in the remote worker to getDEVELOPER_DIR
to be set, which in turn requires improving the runfiles handling for the the worker.Work towards #6526