-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Restore macOS 10.10 version compatibility to Bazel #11565
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! (as |
@googlebot I signed it! |
perhaps @tetromino, @aiuto or @philwo could take a look at this? I don't know why cla/google is still failing. possibly needs manual intervention. |
Thank you and sorry for the delay in reviewing it! It looks good to me. The CLA bot told me that it's confused because the PR was created by your gmail.com address (although the commits show your Dropbox address) and because it doesn't know that they belong to the same person, it doesn't like it. Just to verify - have you added your dropbox.com e-mail to your GitHub account as a secondary e-mail address? I think it should work then. |
ah! that is what was missing. let's try again. @googlebot I signed it! |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
@philwo what about
|
@nikhilm Nice, thanks! :) Regarding the bazelrc change - if CI passed, it apparently doesn't break the build on Linux and Windows. 😄 OTOH maybe this is a good time to add |
Sorry for the delay. I'm importing this now. |
I got this compiler error when trying to submit the PR internally:
Any idea how to fix this? Is it just a matter of prefixing |
Ah! good catch. I have updated the PR to have |
Perfect, thanks! All presubmit tests pass - it's now out for a quick review by a colleague and should then be auto-pushed to GitHub. |
This is part of the fixes for #11442. (Not a complete fix because it does not address the bazel 2 branch).
It makes the macOS deployment target 10.10. Then it wraps the calls to the macOS logging infrastructure so they only execute on macOS 10.12+.
I've tested this change and a similar cherry-pick on tag 2.2.0 and confirmed this results in a functioning Bazel (at least for the targets we build) on macOS 10.10.
I have questions around what I can do better: