-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated rollback of commit d03dcfb.
*** Reason for rollback *** Breaks in edge cases where xcodes are not or incorrectly installed. *** Original change description *** Make Xcode setup more resilient Previously if you tried to build a project from a entirely clean bazel state, and ctrl-c'd while bazel was fetching the local_config_xcode information, you would end up in a state where the local_config_xcode/BUILD file contained error information, which made the Apple crosstool unusable until you did a `clean --expunge`. Now the Xcode setup calls `fail()` in those cases, which makes bazel re-run it again the next time you try to build. It is still possible to reproduce if you ctrl-c while the `xcodebuild -version` command that determines if you have Xcode installed at all runs. Because we want to support users who don't have Xcode installed on macOS, we cannot fail in that case. Fixes #6056 Closes #7519. PiperOrigin-RevId: 236161124
- Loading branch information
1 parent
4187acf
commit c6c9b58
Showing
3 changed files
with
22 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c6c9b58
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.
FYI #7592