Build
Build systems for SYNC4, ECG & Phoenix
Builds on local caches run in roughly a fifth of the raw build time.
Context
Each program I build (SYNC4, ECG, Phoenix) combines 100 to 300 components across QNX, AOSP, and Wind River Linux, each with its own toolchain and cadence. The build stage is about 80% of pipeline wall-clock time, so build speed is the largest lever on how quickly engineers get feedback.
Constraints
- Every component keeps its own toolchain and release cadence.
- Each run must produce one traceable, releasable artifact.
- Builds run on a shared fleet of thousands of machines that the wider organisation operates.
- Disclosure is abstract: no internal names, topology, or implementation detail.
Architecture
What I built
- Compiler cache, download cache, and Yocto sstate on drives attached directly to the compute nodes, plus incremental builds that rebuild only what changed.
- A self-hosted JFrog Artifactory binary repository run next to the build fleet, so dependencies and outputs stay close to the compute.
- Pipelines that fan independent work out across the fleet instead of queuing it on one host.
Results
-
~5×
Builds on local caches run in roughly a fifth of the raw build time
-
was ~2 h → ~12 min
Phoenix incremental builds. Achieved by the Phoenix team.
-
~80%
Share of pipeline wall-clock time spent in the build stage
What I'd do next
I would record per-stage timings and cache hit rates for every run and publish them next to the build, so a cold cache or a slow node shows up as a number instead of a surprise. That data also tells me which cache to grow next.