commit | d4d3d506f4cf6cfaafaeeb717d681ff7784e2384 | [log] [tgz] |
---|---|---|
author | buchgr <buchgr@google.com> | Thu Aug 02 06:47:19 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Thu Aug 02 06:48:54 2018 -0700 |
tree | 0dd0aad48aadde21b44d6153b3489bcd882ba904 | |
parent | dcd7c63d09e12fc3e2a9ca80b1422e4bcdd2740f [diff] |
remote: add support for directory inputs in runfiles Add support for tree artifacts (ctx.action.declare_directory(...)) in runfiles. Before this change we would throw away the information about the files inside a tree artifact before executing an action. That's fine for local execution where the sandbox just copies/symlinks a directory and doesn't care much what's inside. However, in remote execution we actually need to upload each individual file and so we need to be aware of all individual files not just directories. This change makes it so that this information is made available to a SpawnRunner via the SpawnInputExpander. RELNOTES: None PiperOrigin-RevId: 207091668
{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.