0
点赞
收藏
分享

微信扫一扫

Mac M1 使用 Bazel 低版本

程序员漫画编程 2022-02-20 阅读 290

在mac m1芯片 上使用 bazel 遇到问题:

按照提示:下载 bazel-3.1.0-darwin-arm64 然后会报404,因为bazel-3.1.0 没有编译darwin-arm64版本: 在这里插入图片描述
此时直接 修改 命令 下载x86版本

(cd "/opt/homebrew/Cellar/bazel/5.0.0/libexec/bin" && curl -fL -o bazel-3.1.0 https://releases.bazel.build/3.1.0/release/bazel-3.1.0-darwin-x86_64 && chmod +x bazel-3.1.0

注意 不要使用默认文件名 bazel-3.1.0-darwin-x86_64

举报

相关推荐

0 条评论