commit | f68079c3bb48fdd5dc25f92a0c9a0ca4e197a7bb | [log] [tgz] |
---|---|---|
author | ahumesky <ahumesky@google.com> | Wed Sep 30 19:10:08 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Sep 30 19:11:12 2020 -0700 |
tree | b4d94e428d5a4147f257783398c38f78663cba29 | |
parent | 7f8f126bbe7c9fc3ba14b92bfad8500287d52766 [diff] |
Delete symlinks in the execroot that are toplevel output directories. If a directory in the execroot is a toplevel output directory, then it should not be deleted because it was not created as part of symlink forest creation, unless it is a symlink. If the directory is a toplevel output directory and it is a symlink, then this means that it was created as part of a previous build where it was not a toplevel output directory at the time, and should be deleted. If these are not deleted, then certain actions (like actions for creating symlinks to output root inputs) will behave incorrectly (like creating symlinks that point to themselves). RELNOTES: None. PiperOrigin-RevId: 334726820
{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