Re: Changing CI builds to RelWithDebInfo from Debug
Nicolas Fella <[email protected]> Tue, 28 Jul 2026 13:10:05 +0200
| Newsgroups | gmane.comp.kde.devel.general,gmane.comp.kde.releases,gmane.comp.kde.devel.core,gmane.comp.kde.devel.plasma,gmane.comp.kde.devel.frameworks |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------wrd3y06pBxxKhCkgG14uVubq
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
On 28/07/2026 12:58, Ben Cooksley wrote:
> Hi all,
>
> For some time now CI has built everything using CMAKE_BUILD_TYPE set=20
> to Debug. This has the benefit of producing binaries that have asserts=
=20
> enabled, however does have the downside that the binaries generated=20
> are larger and unoptimized, making test execution take longer.
>
> For KWin, this means that the install/ folder it produces on a Qt 6.11=
=20
> system uses ~890MB of space by itself (excluding any dependencies).
>
> In the interests of reducing disk space utilisation on the CI=20
> builders, as well as hopefully speeding up execution of tests, i'd=20
> 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=
=20
difference (debug symbols probably make up the largest part of the=20
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=20
need to pass -DECM_FORCE_ASSERTS=3DON to CMake (see=20
https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/574=
).
Cheers
Nico
--------------wrd3y06pBxxKhCkgG14uVubq
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 28/07/2026 12:58, Ben Cooksley
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+XidOGFnfwJE=LqyjuYxZJANzrQYfURnWxk2YNXBu0gdmM3qA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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).</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Please let me know if there are any issues with this.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Ben</div>
</div>
</blockquote>
<p>Hi,</p>
<p>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.</p>
<p>I'd rather not lose the asserts though, and we don't have to. We
just need to pass -D<span class="line" data-lang="cmake"><span
class="cm">ECM_FORCE_ASSERTS=ON to CMake (see
<a class="moz-txt-link-freetext" href="https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/574">https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/574</a>).</span></span></p>
<p><span class="line" data-lang="cmake"><span class="cm">Cheers</span></span></p>
<p><span class="line" data-lang="cmake"><span class="cm">Nico</span></span></p>
</body>
</html>
--------------wrd3y06pBxxKhCkgG14uVubq--