【问题标题】:Bazel build command installing tensorflow from sourceBazel build 命令从源代码安装 tensorflow
【发布时间】:2017-05-18 11:33:25
【问题描述】:

我目前正在尝试从源代码安装 tensorflow。当我在终端中输入bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package -cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0 时,它只是给了我一个尖括号指示器>。接下来我该怎么办?

这是./configure 步骤输出。

Please specify the location of python. [Default is /home/jingw222/anaconda3/bin/python]: 
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]: 
Do you wish to use jemalloc as the malloc implementation? [Y/n] 
jemalloc enabled
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N] 
No Google Cloud Platform support will be enabled for TensorFlow
Do you wish to build TensorFlow with Hadoop File System support? [y/N] 
No Hadoop File System support will be enabled for TensorFlow
Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N] 
No XLA support will be enabled for TensorFlow
Found possible Python library paths:
  /home/jingw222/anaconda3/lib/python3.6/site-packages
Please input the desired Python library path to use.  Default is [/home/jingw222/anaconda3/lib/python3.6/site-packages]

Using python library path: /home/jingw222/anaconda3/lib/python3.6/site-packages
Do you wish to build TensorFlow with OpenCL support? [y/N] 
No OpenCL support will be enabled for TensorFlow
Do you wish to build TensorFlow with CUDA support? [y/N] 
No CUDA support will be enabled for TensorFlow
Configuration finished
...........
INFO: Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes.
..........
INFO: All external dependencies fetched successfully.

【问题讨论】:

    标签: build tensorflow bazel


    【解决方案1】:

    会不会是你错过了一个结束“?

    bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package -cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0"

    【讨论】:

      猜你喜欢
      • 2016-11-02
      • 1970-01-01
      • 1970-01-01
      • 2018-10-11
      • 1970-01-01
      • 1970-01-01
      • 2017-02-12
      • 1970-01-01
      相关资源
      最近更新 更多