Bazel 编译工具; tensorflow 编译,tensorflow编译


  • 什么是bazel 
    • https://docs.bazel.build/versions/master/bazel-overview.html
  • 使用 bazel 构建 c++ 工程
    • https://github.com/bazelbuild/examples/tree/master/cpp-tutorial
    • https://docs.bazel.build/versions/master/tutorial/cpp.html
    • https://docs.bazel.build/versions/master/bazel-and-cpp.html
  • bazel 函数描述:
    • https://docs.bazel.build/versions/master/be/overview.html
  • 使用bazel 构建tensorflow:
    • https://github.com/tensorflow/tensorflow
    • https://github.com/tensorflow/custom-op
  • tensorflow bazel 编译命令: (编译cpu支持的版本,限制编译的内存为2GB, 并兼容旧版本的ABI)
    • bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package --local_ram_resources=2048 --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" 

保持更新,更多内容请关注cnblogs.com/xuyaowen;

相关内容

    暂无相关文章