~/talk

Bringing Bazel to Windows, then and now

Talkat BazelCon 2023 · 2023-10-24..10-25
links:none on file
slides:none on file

A Linux‑only Bazel port becomes usable on Windows by replacing missing POSIX calls with MSYS2, working around lack of admin symlinks using junctions and hard links, and ripping bash dependencies out of the runtime so native stub scripts and C++ wrappers run faster. Remote execution uses Docker containers on Windows Server Core (images ~4 GB) and an NSSM‑wrapped dockerd service for isolation; a runaway MSYS2 temp file bug stalls Docker builds until Go 1.21 fixes it, but the container approach enables Visual Studio toolchains without redistributing Microsoft binaries.

AI-written summary · about

  1. 0:00Introduction
  2. 2:35Windows support importance
  3. 4:46Bash and POSIX in Bazel
  4. 7:58Symbolic links on Windows
  5. 10:46Bazel Windows timeline
  6. 13:55Remote execution intro
  7. 16:43First Windows remote exec
  8. 20:36Windows containers
  9. 23:23Debugging container builds
  10. 25:28Configuring remote exec
  11. 25:49Q&A
~/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.