bazel初步

bazel是google的一个编译器,本来是我在tensorflow做8bi量化的时候要使用的,以后工具类别的博客也会放到这个分类c++里面。


bazel
操作:
pip install zip
遇到问题:
Package zip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
解决:更新源
apt-get -y update


1.安装 sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python
2.下载 
https://github.com/bazelbuild/bazel/releases
下载这个:bazel-0.12.0-installer-linux-x86_64.sh,uc浏览器可以,多下几次
https://docs.bazel.build/versions/master/install-ubuntu.html#install-with-installer-ubuntu


3.运行
./bazel-<version>-installer-linux-x86_64.sh
4.测试 bazel help


[1]安装教程 https://docs.bazel.build/versions/master/install-ubuntu.html#install-with-installer-ubuntu

猜你喜欢

转载自blog.csdn.net/andeyeluguo/article/details/80094412
今日推荐