commit | d2998a32e0a15e1894d8119dedb92e19f17f46f8 | [log] [tgz] |
---|---|---|
author | Yun Peng <pcloudy@google.com> | Fri Apr 24 01:32:40 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 24 01:33:48 2020 -0700 |
tree | ad8d2d3f39887ba7f189542f39cbe75073fb2a22 | |
parent | b20f5122b9523381d70b52ebbb41a9a22e96b87b [diff] |
Make it possible to bootstrap Bazel from original source Related https://github.com/bazelbuild/bazel/issues/9408 When providing required `protoc` compiler and relevant tools and libraries, Bazel should be able to bootstrap itself from the original source. This change fixes the bootstrap scripts by - Adding missing proto compilation. - Search for protobuf jars under /usr/share/java if the derived directory doesn't exist. (Should be available by `apt-get install libprotobuf-java`) - Don't use the bootstrap toolchain if not bootstrapping from the dist archive. Because using that toolchain will make Bazel depend on things under derived directory, which doesn't exist if we bootstrap from Bazel original source and it's not necessary in this case. Closes #11192. PiperOrigin-RevId: 308215155
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md