commit | 02873d85f529104bb8243a1569018c1053e48419 | [log] [tgz] |
---|---|---|
author | Hadrien Chauvin <hadrienchauvin@gmail.com> | Mon Feb 05 06:05:06 2018 -0800 |
committer | Copybara-Service <copybara-piper@google.com> | Mon Feb 05 06:06:59 2018 -0800 |
tree | c5bf363f17220ff1b99c5b1fff4c79d830494c07 | |
parent | a610a2b77893ed9edd3038cffe803bce68f83a80 [diff] |
sha256 python tool: stream instead of reading whole file beforehand This is a rather small change to a Python tool used to produce a SHA256 hash. Currently, the whole file is loaded in memory before computing the hash, which causes problem when large files are processed. For instance, github.com/bazelbuild/rules_docker uses it to compute the hash of Docker images, which can be multiple GB in size. This PR avoids the tool to cause issues in a limited-memory environment. Closes #4243. PiperOrigin-RevId: 184518900
{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.