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

Reply via email to