-
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
Revert "Switch to -fdebug-compilation-dir" #12882
Revert "Switch to -fdebug-compilation-dir" #12882
Conversation
This reverts commit 0cb8757. This flag isn't supported by Xcode 11.2, which is the newest available version for macOS 10.14 bazelbuild#12354 (comment)
@oquenchil can you review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@keith The crosstool has an Xcode versions compare helper that maybe we can use to conditionally add this flag. bazel/tools/osx/crosstool/cc_toolchain_config.bzl Lines 36 to 38 in 0cb8757
|
Yea, idk if it's worth it unless this flag provides more benefit. I was just trying to simplify the wrapper's replacements thinking it was fine with our minimum supported versions. |
This reverts commit 0cb8757. This flag isn't supported by Xcode 11.2, which is the newest available version for macOS 10.14 bazelbuild#12354 (comment) Fixes bazelbuild#12905 Closes bazelbuild#12882. PiperOrigin-RevId: 355126529
👋 do we have a plan about when releasing this change? Thanks! |
best to comment on #12455 |
FYI to workaround this now you can pass |
This reverts commit 0cb8757. This flag isn't supported by Xcode 11.2, which is the newest available version for macOS 10.14 #12354 (comment) Fixes #12905 Closes #12882. PiperOrigin-RevId: 355126529
This reverts commit 0cb8757. This flag isn't supported by Xcode 11.2, which is the newest available version for macOS 10.14 #12354 (comment) Fixes #12905 Closes #12882. PiperOrigin-RevId: 355126529
**What this PR does / why we need it**: [v4.1.0](https://github.com/bazelbuild/bazel/releases/tag/4.1.0) got released last week. This release includes bazelbuild/bazel#12882, which fixes what we were facing; no longer needed to come with the workaround. I've confirmed that it works fine without passing the workaround flag `--features=-debug_prefix_map_pwd_is_dot`. **Which issue(s) this PR fixes**: Fixes #1913 **Does this PR introduce a user-facing change?**: <!-- If no, just write "NONE" in the release-note block below. --> ```release-note NONE ``` This PR was merged by Kapetanios.
This reverts commit 0cb8757.
This flag isn't supported by Xcode 11.2, which is the newest available
version for macOS 10.14
#12354 (comment)
Fixes #12905