[root@localhost bazel]# ./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
🍃 Building Bazel from scratch
ERROR: Must specify GRPC_JAVA_PLUGIN if not bootstrapping from the distribution artifact
--------------------------------------------------------------------------------
NOTE: This failure is likely occuring if you are trying to bootstrap bazel from
a developer checkout. Those checkouts do not include the generated output of
the protoc compiler (as we prefer not to version generated files).
* To build a developer version of bazel, do
bazel build //src:bazel
* To bootstrap your first bazel binary, please download a dist archive from our
release page at https://github.com/bazelbuild/bazel/releases and run
compile.sh on the unpacked archive.
The full install instructions to install a release version of bazel can be found
at https://bazel.build/versions/master/docs/install.html#compiling-from-source
For a rationale, why the bootstrap process is organized in this way, see
https://bazel.build/designs/2016/10/11/distribution-artifact.html
--------------------------------------------------------------------------------
[root@localhost bazel]# bash ./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
🍃 Building Bazel from scratch
ERROR: Must specify PROTOC if not bootstrapping from the distribution artifactbuilding protocbuf and setting env PROTOC to fix it. But exec #bash ./compile.sh again, i get the second error,
[root@localhost bazel]# ./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
🍃 Building Bazel from scratch
ERROR: Must specify GRPC_JAVA_PLUGIN if not bootstrapping from the distribution artifact
bash ./compile.sh, i get the next error.[root@localhost bazel-0.4.5]# bash ./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
🍃 Building Bazel from scratch.......I have added mips64el arch support, i upload the change log in my github, see https://github.com/xzy256/bazel-mips64el/blob/master/1.patch
🍃 Building Bazel with Bazel.
.WARNING: /tmp/bazel_qadO1W8B/out/external/bazel_tools/WORKSPACE:1: Workspace name in /tmp/bazel_qadO1W8B/out/external/bazel_tools/WORKSPACE (@io_bazel) does not match the name given in the repository's definition (@bazel_tools); this will cause a build error in future versions.
ERROR: No toolchain found for cpu 'unknown'. Valid cpus are: [
piii,
armeabi-v7a,
x64_windows_msvc,
s390x,
mips64el,
ios_x86_64,
].
INFO: Elapsed time: 8.248s
ERROR: Could not build Bazel