Use DynamicCodec for SpawnAction. AutoCodec wasn't serializing the runfiles supplier because it was in a superclass.

Surprisingly few codecs/code have to be changed/added. Good job, DynamicCodec.

The recently submitted https://github.com/bazelbuild/bazel/commit/f297ba86f733dca8bc98c9dd1f763fb2ccb1369c introduced a severe performance regression because of its incorrect hash code/equality check. We should better document what's going on in CcToolchainVariables if we continue serializing there. Fixed in unknown commit.

PiperOrigin-RevId: 292977321
6 files changed
tree: 82982f6ac693e1005d2c4aea4484541d828d8d9b
  1. .bazelci/
  2. examples/
  3. scripts/
  4. site/
  5. src/
  6. third_party/
  7. tools/
  8. .bazelrc
  9. .gitattributes
  10. .gitignore
  11. AUTHORS
  12. BUILD
  13. CHANGELOG.md
  14. CODEOWNERS
  15. combine_distfiles.py
  16. combine_distfiles_to_tar.sh
  17. compile.sh
  18. CONTRIBUTING.md
  19. CONTRIBUTORS
  20. distdir.bzl
  21. ISSUE_TEMPLATE.md
  22. LICENSE
  23. README.md
  24. WORKSPACE
README.md

Bazel

{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.

Getting Started

Documentation

Contributing to Bazel

See CONTRIBUTING.md

Build status