~/talk

Bazel

Talkat ACCU 2025 · 2025-04-01..04-04· [devops-and-delivery]
slides:none on file

Bazel compiles anything with hermetic reproducible caching so repeated runs do nothing and remote/external caches or a build farm cut compile time dramatically; Google runs roughly 600 parallel jobs against a mono‑repo and teams gate toolchains with Starlark (restricted Python) and Java core. Recommended practices: one source/one header/one rule, include‑what‑you‑use, package visibility and layering_check. Tooling: Buildifier, Gazelle, Bazelisk for pinned versions, CMake/third‑party rule wrappers, remote cache/Redis or large AWS instances for heavy builds.

AI-written summary · about

  1. 0:00Introduction
  2. 0:10What is Bazel
  3. 1:57Why use Bazel
  4. 5:28History of build systems
  5. 7:15Graphing and hashing
  6. 10:28Caching and execution
  7. 15:16Bazel and C++
  8. 20:26Querying and visibility
  9. 23:25Include what you use
  10. 25:57Build file structure
  11. 32:36Rule attributes
  12. 35:58Complex query expressions
  13. 37:15Rule tagging and settings
  14. 40:12Bazelrc configuration
  15. 45:22Asan mode configuration
  16. 47:20Config settings
  17. 50:27Test attributes
  18. 52:26Advanced querying
  19. 56:41Reverse dependencies
  20. 59:30Querying for specific rules
  21. 1:06:43Buildifier and Gazelle
  22. 1:08:49Handling external code
  23. 1:10:53CMake integration
  24. 1:12:35Configure and make
  25. 1:14:12Toolchains
  26. 1:18:30Bazel Central Registry
  27. 1:19:31IDE integration
  28. 1:20:53Compile commands extraction
  29. 1:22:07Build farm setup
  30. 1:27:13Starlark playground
  31. 1:28:43CI configuration
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.