Multi-platforms Build with Remote Build Execution
summary
Builds move from local Mac to remote Linux using RBE and firecracker microVMs, running a real repo’s integration tests faster because 1500 cores vs 10 yields multiminute builds and DB-backed tests. Practical work: a Bazel flag combo that builds Linux artifacts from macOS, experimental experimental_platform_in_output_dir to share out dirs, and UI/telemetry for cache and sandbox diagnostics. Footguns: complex C/C++/Java toolchain setup, repository_context‑registered toolchains, and legacy host_cpu/cpu flags that must be set for some rules.
AI-written summary · about
chapters (14)
- 0:00Multi-platform builds intro
- 2:58Windows support challenges
- 4:23Remote execution with Bazel
- 7:13Bazel platforms and frames
- 10:03Local vs remote platforms
- 12:52Cross-compilation complexities
- 15:48Platform-aware build tips
- 18:40Remote execution telemetry
- 19:46Real-world applications of multi-platform builds
- 21:12Network latency impact
- 23:00Bazel feature adoption
- 24:51Platform properties
- 26:39Platform cleanup plans
- 27:41Q&A
