commit | 93090e160860112385550925644cd3204e79e867 | [log] [tgz] |
---|---|---|
author | tanzhengwei <tanzhengwei@google.com> | Tue Nov 10 07:16:13 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Nov 10 07:17:09 2020 -0800 |
tree | a5a0ae10c20d6648b250a2f28d0d302eb44b4777 | |
parent | 02838a1b2aa2f6d03980536ab2ac6840c3c98e84 [diff] |
Default genquery somepath to aggregate and output in dependency order. Somepath used in Genquery was sorted alphabetically by default which loses its previous dependency order. This CL checks for the existence of somepath at the top level of QueryExpression (e.g. `somepath(a, b)`) and changes the default aggregator to output the results in dependency order. (Examples such as `somepath(...) + dep(...)` will still output in lexicographical order as `somepath` is no longer at the top level). This does not apply to `allpaths` since it does not output in a dependency order originally and hence there is no need to preserve any order (besides lexicographical). PiperOrigin-RevId: 341612887
{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