> On 4 Jun 2026, at 03:38, Joshua Root <[email protected]> wrote: > > On 4/6/2026 05:15, Paul Guyot wrote: >> I tried a prototype of waves, but I don't think it's very pretty: >> https://github.com/pguyot/macports-ports/actions/workflows/wave-build.yml > That does look a bit complicated. The premise is that splitting into multiple > builds helps because each build gets its own 6 hour time limit, right? > > Maybe it would be simpler to do one build per port, like the buildbot does. > MPBB already has code that will give you an ordered list of dependencies that > need to be installed. If that results in too many builds, it could be > optimised by installing all the dependencies that are available as a binary > in one step.
Main issue (to my eyes) is that the number of steps is fixed. We could just work around clang-22 issue by building only one port with the first step and then all the others with the second step. In fact, we could first lint all in parallel as well. And if we hit a 6 hours timeout, we could add a third step. It's much simpler than the wave approach that tries to catch a maximum depth. Drawback is single port builds (the majority I guess) will show a second step as skipped, like this: https://github.com/pguyot/macports-ports/actions/runs/26900364904 If this suits you I can write a prototype and submit it. Paul
