commit | 94602f05b34fda2556287797a14b7dac64f2f041 | [log] [tgz] |
---|---|---|
author | Lszl Csomor <laszlo@engflow.com> | Mon Mar 15 01:57:05 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Mar 15 01:58:06 2021 -0700 |
tree | cb62fb89b1e0b7919b65be5d884a38f89510f91b | |
parent | 8d404a2a11fc9f18f02f8937be8c812b98883a8c [diff] |
SpawnAction.Builder: use callable PathFragment If you pass an Artifact or FilesToRunProvider to Builder.setExecutable, it will now use the callable path, not just the execpath. Fixes https://github.com/bazelbuild/bazel/issues/13189 Unfortunately, call sites that pass PathFragment are susceptible to the bug, because PathFragment is inherently ambiguous: if it's a bare file name, the shell resolves it against PATH, otherwise against the current directory. RELNOTES: none Closes #13192. PiperOrigin-RevId: 362889202
{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