commit | 440919933dc11d8aa4394dbd53790271a2073bc5 | [log] [tgz] |
---|---|---|
author | lberki <lberki@google.com> | Tue Jul 11 15:15:20 2017 +0200 |
committer | László Csomor <laszlocsomor@google.com> | Tue Jul 11 18:25:26 2017 +0200 |
tree | 7d75ab55310db2e3011a89dfa7064aef1f45b25e | |
parent | c16f7988c8a3077dd94b6a678a7af11ad761c580 [diff] |
Add a cc_toolchain_alias and java_runtime_alias rules so that e.g. genrules can depend on the C++ toolchain/Java runtime being used. The naive way to do this would be via @bazel_tools//, except that that does not take configuration transitions into account and e.g. will be the same in the host and the target configurations even if different toolchains are used. Eventually, this will be supplanted by the toolchain selection mechanism. However, that is not live yet and the migration cost this will incur is not a lot; just replacing the one single instance of these undocumented rules with the reference to the toolchain type. RELNOTES: None. PiperOrigin-RevId: 161519229
{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 system. 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.