Yes, that is a full clean build after the build directory is configured
from scratch. The dependencies are prepared before that, and this is just
the time to run ninja which lists 4900 build steps or so (I can't
remember). I mean, the build isn't exactly very fast even on a reasonably
high-end system, so I'm not all too surprised that CI is doing worse.
But I'm sure your concerns are valid too. I noticed Docker can be very slow
if the host OS is mismatched with the container OS (although I don't know
the details of your setup and it's probably not that here).

On Tue, Apr 22, 2025 at 12:51 PM Ben Cooksley <bcooks...@kde.org> wrote:

> On Tue, Apr 22, 2025 at 10:44 PM Konstantin Kharlamov <hi-an...@yandex.ru>
> wrote:
>
>> On Tue, 2025-04-22 at 07:15 +1200, Ben Cooksley wrote:
>> > On Tue, Apr 22, 2025 at 5:57 AM Dmitry Kazakov <dimul...@gmail.com>
>> > wrote:
>> > > Hi, Ben!
>> > >
>> >
>> >
>> > Hey Dmitry,
>> >
>> > >
>> > > As for Krita, most of CI time is spent on the Windows pipeline,
>> > > which build extremely slowly due to done obscure filesystem issues
>> > > (searching includes is extremely slow). I personally don't know how
>> > > to fix it. I tried: 1) PCH builds, 2) relative includes, 3) split
>> > > debug info (dwo). The only solution left is to rewrite a huge
>> > > portion of Krita to reduce amount of includes. Which is, obviously,
>> > > not an option atm.
>> > >
>> >
>> >
>> > This is probably at least in part due to Windows on Docker having
>> > extremely poor file system performance even vs. straight NTFS (which
>> > isn't great to begin with).
>> > That will be fixed by VM based CI (progress update - I have most of
>> > the tool that will manage the underlying base images written now,
>> > just need to finish the VM provisioning part and give it some serious
>> > testing)
>>
>> Hi, sorry for stupid question, but would it be possible/benefittable to
>> move builds to Linux docker + wine?
>>
>
> The vast majority of KDE software is built using MSVC (due to the need for
> QtWebEngine, which is only supported using MSVC on Windows - MingW and co
> need not apply) which is not supported by Wine (or at least not very well).
>
> Cheers,
> Ben
>
>

Reply via email to