commit | f69c3d27b7e47bb56c0359d350c3f20a7ccf9d38 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Mon Sep 16 05:41:40 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Sep 16 05:42:26 2019 -0700 |
tree | a20dc26c2b91e197aca6479a3552e18ef76602d8 | |
parent | acdd3654e70af880f412c2bc5c8a9b5c4f477bf2 [diff] |
Fix destructive mv of bazel internal files The genrule was moving a $SRC. In some sandboxes, ths is a permission problem. On Debian Stretch, this results in the following error: ERROR: /home/austin/local/bazel2/scripts/packages/BUILD:57:2: Executing genrule //scripts/packages:zip-bazel-exe_nojdk failed (Exit 1) bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped) Use --sandbox_debug to see verbose messages from the sandbox touch: cannot touch '/tmp/tmp.EhwgH9R4/bazel.exe': Permission denied So let's copy instead. Closes #9330. PiperOrigin-RevId: 269313991
{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.