commit | 61d9994f9cd412ae347365dc2c214ff3e83c7af9 | [log] [tgz] |
---|---|---|
author | schmitt <schmitt@google.com> | Mon Nov 04 06:42:31 2019 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Nov 04 06:43:28 2019 -0800 |
tree | 44fcd33b276bb032d0488b631c2ec9c3f206a001 | |
parent | 6b7ea37feb1c05afccb444ce276f43b009371521 [diff] |
Set execution constraints by target. Provides a new flag --experimental_add_exec_constraints_to_target that allows setting execution constraints on targets in addition to those statically declared on them. Note that this flag should not be necessary: all execution constraints should be derivable from the target, the rule it is instantiating and available toolchains it depends on. The flag is nonetheless introduced (hopefully) in a temporary fashion to allow working around issues where execution platform and strategy do not match, as discussed in https://docs.google.com/document/d/1U9HzdDmtRnm244CaRM6JV-q2408mbNODAMewcGjnnbM. If and when that design is implemented this flag will be removed again. Use at your own risk. RELNOTES: None. PiperOrigin-RevId: 278367121
{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