我正在尝试查看如何通过brew安装Bazel并遇到问题。
注意在执行此操作之前,我已卸载所有bazel版本以模拟新用户。
根据{{3}}上的文档,它应该可以直接使用,但是我需要从bazelbuild/tap/bazel
进行显式安装。
有什么想法吗?
➜ Homebrew git:(stable) brew tap bazelbuild/tap && brew tap-pin bazelbuild/tap && brew install bazel git:(stable)
==> Pinned bazelbuild/tap
To restore the stashed changes to /usr/local/Homebrew run:
'cd /usr/local/Homebrew && git stash pop'
==> Downloading https://homebrew.bintray.com/bottles/bazel-0.15.2.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/39/390fd161839611a293e225c2dc91a37cab8d8fa7dfd4290cc680beb29c05fa15?__
### 4.9%^C
➜ Homebrew git:(stable) brew tap bazelbuild/tap && brew tap-pin bazelbuild/tap && brew install bazelbuild/tap/bazel
==> Pinned bazelbuild/tap
To restore the stashed changes to /usr/local/Homebrew run:
'cd /usr/local/Homebrew && git stash pop'
==> Installing bazel from bazelbuild/tap
==> Downloading https://releases.bazel.build/0.17.2/release/bazel-0.17.2-installer-darwin-x86_64.sh
答案 0 :(得分:2)
核心自制软件不再支持Bazel。您可以改为打开并固定bazel tap:
brew tap bazelbuild/tap
brew tap-pin bazelbuild/tap
brew upgrade bazel