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

Avoid calling xcrun on darwin if we don't need to #223

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

dzbarsky
Copy link
Contributor

Calling xcrun can actually fail if you don't have xcode installed or haven't accepted the license/etc. If the user provides an explicit sysroot, we will never use the default one so this failure is unfortunate. Defer computing the default until we need it.

Copy link
Contributor

@siddharthab siddharthab left a comment

Choose a reason for hiding this comment

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

Thanks.

@siddharthab siddharthab merged commit 2733561 into bazel-contrib:master Sep 20, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants