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

Revert "Switch to -fdebug-compilation-dir" #12882

Conversation

keith
Copy link
Member

@keith keith commented Jan 22, 2021

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

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)
@keith
Copy link
Member Author

keith commented Jan 25, 2021

@oquenchil can you review?

Copy link
Contributor

@oquenchil oquenchil left a comment

Choose a reason for hiding this comment

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

LGTM

@bazel-io bazel-io closed this in 58bb42a Feb 2, 2021
@thii
Copy link
Member

thii commented Feb 2, 2021

@keith The crosstool has an Xcode versions compare helper that maybe we can use to conditionally add this flag.

def _compare_versions(dv1, v2):
"""Return value is <0, 0, >0 depending on DottedVersion dv1 comparison to string v2."""
return dv1.compare_to(apple_common.dotted_version(v2))

@keith keith deleted the ks/revert-switch-to-fdebug-compilation-dir branch February 2, 2021 17:52
@keith
Copy link
Member Author

keith commented Feb 2, 2021

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.

arunkumar9t2 pushed a commit to arunkumar9t2/bazel that referenced this pull request Feb 9, 2021
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
@chenrui333
Copy link
Contributor

👋 do we have a plan about when releasing this change? Thanks!

@keith
Copy link
Member Author

keith commented Feb 18, 2021

best to comment on #12455

@keith
Copy link
Member Author

keith commented Feb 18, 2021

FYI to workaround this now you can pass --features=-debug_prefix_map_pwd_is_dot

thundergolfer pushed a commit to thundergolfer/uni that referenced this pull request Feb 21, 2021
@philwo philwo mentioned this pull request Feb 24, 2021
9 tasks
philwo pushed a commit that referenced this pull request Mar 15, 2021
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
philwo pushed a commit that referenced this pull request Mar 15, 2021
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
pipecd-bot pushed a commit to pipe-cd/pipecd that referenced this pull request May 28, 2021
**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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bazel 4.0.0 does not work with XCode 11.3
4 participants