Building bazel from source on IBM power8

2019-09-12 06:37发布

I have access to a large IBM Power8 machine (running Ubuntu), and would like to build Bazel on it. However, when I try to do it as their installation instructions suggest, I get:

me@machine:~/bazel-0.1.5$ ./compile.sh
INFO: You can skip this first step by providing a path to the bazel binary as second argument:
INFO:    ./compile.sh compile /path/to/bazel
                

1条回答
叛逆
2楼-- · 2019-09-12 07:00

The version of protobuf you're using must match the protobuf runtime that is checked in. In this case, that's protobuf-java-3.0.0-beta-1.jar [1], so you have to use the compiler version 3.0.0-beta-1.

(I work on Bazel.)

[1] https://github.com/bazelbuild/bazel/tree/master/third_party/protobuf

查看更多
登录 后发表回答