【发布时间】:2016-10-10 13:40:00
【问题描述】:
我正在尝试在 Power8 上运行 Tensorflow。由于这在电源上不可用,我需要从源代码构建它。为了构建它,我需要 Bazel。最新的 Ubuntu 版本不支持 Bazel(据我所知),所以我也需要构建它。在构建 Bazel 时,我遇到了错误(如下所列)。
我在 Power8 here 上找到了 Tensorflow 的安装指南。这将我链接到支持 Bazel 电源的 github project。
文章告诉我结帐分支 v0.2.0-ppc。然后我运行
$./compile.sh
这会导致:
[50 / 392] Writing file src/main/java/com/google/devtools/build/lib/libbazel-rulERROR: /home/th/projects/incrementalDL/bazel/third_party/ijar/BUILD:16:1: C++ compilation of rule '//third_party/ijar:zip' failed: gcc failed: error executing command
v0.3.0-ppc 结果:
gRPC Java plugin not found in third_party/grpc/protoc-gen-grpc-java-0.13.2-linux-ppc64le.exe
master-with-ppc 结果:
Protobuf compiler not found in third_party/protobuf/protoc-linux-ppc64le.exe
而最接近 Bazel 主分支的 Power-Support 的结果是:
ERROR: gRPC Java plugin not found in third_party/grpc/protoc-gen-grpc-java-0.15.0-linux-ppc64le.exe
系统:
$lsb_release -a
Description: Ubuntu 16.04.1 LTS
$java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
【问题讨论】:
标签: tensorflow bazel