commit | ade95d8fa7e5e2bbeb6da06574ba3143b35171f0 | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Wed May 20 08:56:00 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 20 08:57:06 2020 -0700 |
tree | 5b3f846ad83fb87f06d93ea2a2375877e4f358a5 | |
parent | 2ec58f60ae1732f4c1d09330c4583050ac8d1f46 [diff] |
Add override for worker mnemonic via execution requirements Sometimes the same (heavy) binary is used for different actions that may have different performance characteristics. Without a way to separate the pooling behavior from the reporting data, rule maintainers have to choose between fine-grained reporting on the different kinds of actions and resource usage due to unnecessary worker processes. RELNOTES: It is now possible to use different action mnemonics while still sharing the same pool of persistent workers. It requires setting a new property on the execution requirements (`worker-key-mnemonic`). The value overrides the action's mnemonic when it comes to reusing worker processes. PiperOrigin-RevId: 312490508
{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