-
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
Install the Bazel Homebrew package directly #11403
Conversation
❯ brew info bazel bazel: stable 3.1.0 (bottled) Google's own build tool https://bazel.build/ Not installed From: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git/Formula/bazel.rb ==> Dependencies Build: [email protected] ✔ Required: openjdk@11 ✘ ==> Requirements Required: macOS >= 10.10 ✔ ==> Analytics install: 4,734 (30 days), 17,069 (90 days), 70,323 (365 days) install-on-request: 4,434 (30 days), 15,988 (90 days), 65,300 (365 days) build-error: 0 (30 days)
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! |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
The actual problem appears to be that https://releases.bazel.build is not accessible from China. The two formulas (bazelbuild/tap/bazel vs. the default bazel) are actually different - But obviously we need to fix connectivity from China. |
Thank you for your answer. After reading #11243, I fully agree with you. Now, maybe the server's network needs to be improved. |
Users have reported that downloads from https://releases.bazel.build became inaccessible from China: bazelbuild/bazel#11403 Verified using https://www.websitepulse.com/tools/china-firewall-test that downloads from github should work (and downloads from releases.bazel.build don't).
I try to install bazel in the way provided by documents over and over again, but it always failed :
However, I found we can install bazel directly with Homebrew successfully:
Here is the information: