Re: CMake minimum required version

Ivan Zhakov <[email protected]> Mon, 27 Jul 2026 16:25:49 +0300
Newsgroups gmane.comp.version-control.subversion.devel
Message-ID <CAPZho0_SGk08VV_dzLo_6m-pzJnyGJWD72tk=Xyzec4JY0a7Kw@mail.gmail.com>
--000000000000d5d4e2065797a9f4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, 23 Jul 2026 at 18:15, Daniel Sahlberg <[email protected]>
wrote:

> Den tors 23 juli 2026 kl 17:08 skrev Branko =C4=8Cibej <[email protected]>=
:
>
>> On 23. 7. 2026 16:59, Ivan Zhakov wrote:
>>
>
[...]

> The other close option is CMake 3.18 (for Debian 11 support), but I would
>> say it's not exactly worth it, since Debian 11 becomes unsupported in Au=
g
>> 2026.
>>
>>
>>
>> Unix distros will use the autotools build. We should ignore them for thi=
s
>> discussion. I don't see the distros switching to CMake given that they'v=
e
>> used autotools for decades.
>>
>>
>> So I propose that we bump the minimum required version to 3.20 and
>> backport this change to 1.15.x branch.
>>
>>
>
> Thanks for doing the digging out all cmake versions! Really helps this
> discussion!
>
> When I saw the list, I also started thinking about this issue. I came to
> the same conclusion as you did - let's update the minimum requirement to
> 3.20 with the arguments you have provided above. Debian 11 can still buil=
d
> with autoconf.
>
>


[...]


> If someone would provide a convincing argument for updating even further,
> I would be inclined to listen. If we for example "only" support the lates=
t
> two versions of a given tool I think that is acceptable for trunk if that
> lets us do something we otherwise have to jump through hoops to do.
> (Especially if it is technically possible to install a newer version just
> for building).
>
> Updated the minimum CMake version requirement to 3.20 in r1936635
<https://svn.apache.org/r1936635>.

--=20
Ivan Zhakov

--000000000000d5d4e2065797a9f4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><br></div><div dir=3D"lt=
r">On Thu, 23 Jul 2026 at 18:15, Daniel Sahlberg &lt;<a href=3D"mailto:dani=
[email protected]" target=3D"_blank">[email protected]</a>&=
gt; wrote:</div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><span style=3D"backgrou=
nd-color:transparent">Den tors 23 juli 2026 kl 17:08 skrev Branko =C4=8Cibe=
j &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
g</a>&gt;:</span></div><div class=3D"gmail_quote"><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex">

 =20
   =20
 =20
  <div><div>On 23. 7. 2026 16:59, Ivan Zhakov
      wrote:<br>
    </div></div></blockquote></div></div></blockquote><div>=C2=A0</div><div=
>[...]=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div di=
r=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex"><div>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div><span>The other close option is CMake 3.18 (for Debian 11
            support), but I would say it&#39;s not exactly worth it, since
            Debian 11 becomes unsupported in Aug 2026.<br>
          </span></div>
      </div>
    </blockquote>
    <br>
    <br>
    Unix distros will use the autotools build. We should ignore them for
    this discussion. I don&#39;t see the distros switching to CMake given
    that they&#39;ve used autotools for decades.<br>
    <br>
    <br>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div><span>So I propose that we bump the minimum required
            version to 3.20 and backport this change to 1.15.x branch.<br><=
/span></div></div></blockquote></div></blockquote><div><br></div><div><br>T=
hanks for doing the digging out all cmake versions! Really helps this discu=
ssion!</div><div><br></div><div>When I saw the list, I also started thinkin=
g about this issue. I came to the same conclusion as you did - let&#39;s up=
date the minimum requirement to 3.20 with the arguments you have provided a=
bove. Debian 11 can still build with autoconf.</div><div><br></div></div></=
div></blockquote><div><br></div><div><br></div><div><br></div><div>[...]</d=
iv><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div =
dir=3D"ltr"><div class=3D"gmail_quote"><div></div><div><span style=3D"backg=
round-color:transparent">If someone would provide a convincing argument for=
 updating even further, I would be inclined to listen. If we for example &q=
uot;only&quot; support the latest two versions of a given tool I think that=
 is acceptable for trunk if that lets us do something we otherwise have to =
jump through hoops to do. (Especially if it is technically possible to inst=
all a newer version just for building).</span></div><div><br></div></div></=
div></blockquote><div><span>Updated the minimum CMake version requirement t=
o 3.20 in r</span><a href=3D"https://svn.apache.org/r1936635">1936635</a><s=
pan>.</span>=C2=A0=C2=A0</div></div><div></div><br><span class=3D"gmail_sig=
nature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Iva=
n Zhakov</div></div>
</div>

--000000000000d5d4e2065797a9f4--