commit | c33ae8af469d615e490fbf503f7fad03e22ea1c6 | [log] [tgz] |
---|---|---|
author | iirina <elenairina@google.com> | Thu Feb 21 04:35:39 2019 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Feb 21 04:37:15 2019 -0800 |
tree | 07f02bdd0102c4b4b18b9a31600962d2c98b5e84 | |
parent | a0e25f554effc902d7898ddd375821eedf90d986 [diff] |
Remove the embedded java tools from the bazel binary. The flags that enable using remote Java tools by default were pushed in 4d935d5ecad583dd9f87d3b08085145c900e21fb. This PR shrinks the bazel binary by ~25%. To measure the binary sizes I used `bazel build -c opt //src:bazel` at a57c879dbca95316ecf50f5e96143eb9f7d1acb8 with and without the changes in this PR: ``` $ ls -lh ~/bazel-with-java-tools | awk '{print $5}' 141M $ ls -lh ~/bazel-no-java-tools | awk '{print $5}' 105M ``` Progress on #6316. Closes #7472. PiperOrigin-RevId: 234972713
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds 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
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.