Changing CI builds to RelWithDebInfo from Debug

Nicolas Fella nicolas.fella at gmx.de
Tue Jul 28 12:10:05 BST 2026


On 28/07/2026 12:58, Ben Cooksley wrote:
> Hi all,
>
> For some time now CI has built everything using CMAKE_BUILD_TYPE set 
> to Debug. This has the benefit of producing binaries that have asserts 
> enabled, however does have the downside that the binaries generated 
> are larger and unoptimized, making test execution take longer.
>
> For KWin, this means that the install/ folder it produces on a Qt 6.11 
> system uses ~890MB of space by itself (excluding any dependencies).
>
> In the interests of reducing disk space utilisation on the CI 
> builders, as well as hopefully speeding up execution of tests, i'd 
> like to switch the CI system to use RelWithDebInfo.
>
> Please let me know if there are any issues with this.
>
> Thanks,
> Ben

Hi,

no objection in principle. I'm a bit skeptical that it will make a large 
difference (debug symbols probably make up the largest part of the 
space), but I'm open to being proved wrong.

I'd rather not lose the asserts though, and we don't have to. We just 
need to pass -DECM_FORCE_ASSERTS=ON to CMake (see 
https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/574).

Cheers

Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/release-team/attachments/20260728/3906f86c/attachment.htm>


More information about the release-team mailing list