commit | e970ad0b847c497f5a2af54efc05f3423c76d2d6 | [log] [tgz] |
---|---|---|
author | mschaller <mschaller@google.com> | Wed Jul 12 23:08:23 2017 +0200 |
committer | László Csomor <laszlocsomor@google.com> | Thu Jul 13 09:56:41 2017 +0200 |
tree | 2c54aa7808e9654b8408fdc6a590f34b1e30aeb8 | |
parent | bb967aa0fe4419e32df9d180539bd7438aafa7dc [diff] |
Avoid races while deleting output directory ancestors When an output file becomes a directory from one build to another, the filesystem operations performed by several threads can race while they prepare output directories. Without synchronization, these races can cause failures. See the comments added in this CL for more detail. This CL adds synchronization around these filsystem operations and gets rid of the problematic races. RELNOTES: None. PiperOrigin-RevId: 161714702
{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.