<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I’m an outsider and I really support that change. CMake evolves and being stuck to ancient versions is really a problem.</div><div class="">Newer versions of CMake help a lot to cleanup some mess, add some really welcome features and becomes faster.</div><div class="">I don’t think anyone is really stuck to any old version though:</div><div class=""><br class=""></div>CMake itself is released and packaged by CMake. You can download binaries from their website for major platforms.<div class="">And it doesn’t have to be a DEB or RPM package, it’s a portable tar.gz file that can be unpacked with statically linked</div><div class="">binaries. You don’t even need to be root to use it and it could even be automated for most platforms using some build</div><div class="">scripts that fetch the dependencies.</div><div class=""><br class=""><div class="">For the other platforms, you could build it from source, which is really easy. Newer versions of CMake still support some</div><div class="">really ancient platforms, so I don’t think anyone will have issues doing that. If you’re using an exotic platform, you should</div><div class="">be used to compiling your own software anyway, so I don’t think this will be an issue for them.</div><div class=""><br class=""></div><div class="">Do Windows devs get stuck because the Windows packaging system doesn’t come with the latest version of CMake?</div><div class="">They don’t have any, so they download the installer, use the updated version and don’t complain (too) much.</div><div class=""><br class=""></div><div class="">I require the latest major version of CMake version in my own projects and I don’t think that has been an issue.</div><div class="">I personally have issues with “bad” build script and I’d support any effort to improve the situation.</div><div class=""><br class=""></div><div class="">My 2 cents,</div><div class="">Florent</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 27 Apr 2016, at 09:08, Renato Golin via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class="">We can't assume every Linux is Ubuntu, nor that every platform has packages for this or that release. </p><p dir="ltr" class="">You are asking for a move to built CMake support, from packages, and that's a big move. We can't control CMake's progress nor its repository. </p><p dir="ltr" class="">This is bigger than a simple version upgrade, regardless of which version the new Ubuntu or freebsd ships, or the fact that other systems already need to build it. </p><p dir="ltr" class="">Cheers, <br class="">
Renato </p>
<div class="gmail_quote">On 26 Apr 2016 11:33 p.m., "Chris Bieneman via cfe-dev" <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Actually forward to LLVM-dev because I obviously don’t know how email works…<div class=""><br class=""></div><div class="">-Chris<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Begin forwarded message:</div><br class=""><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">From: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif" class="">Chris Bieneman via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" class="">cfe-dev@lists.llvm.org</a>><br class=""></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">Subject: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif" class=""><b class="">[cfe-dev] Raising CMake minimum version to 3.4.3</b><br class=""></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">Date: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif" class="">April 26, 2016 at 3:01:23 PM PDT<br class=""></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">To: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif" class="">cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" class="">cfe-dev@lists.llvm.org</a>>, <a href="mailto:llvm-dev@lists.apple.com" target="_blank" class="">llvm-dev@lists.apple.com</a><br class=""></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">Cc: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif" class="">Galina Kistanova <<a href="mailto:gkistanova@gmail.com" target="_blank" class="">gkistanova@gmail.com</a>><br class=""></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">Reply-To: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif" class="">Chris Bieneman <<a href="mailto:beanz@apple.com" target="_blank" class="">beanz@apple.com</a>><br class=""></span></div><br class=""><div class=""><div class="">Hello llvm-dev and cfe-dev,<br class=""><br class="">I want open up the discussion of upgrading our minimum required CMake version.<br class=""><br class="">In the past when we’ve discussed this one of the major reasons for not moving forward was that the Ubuntu LTS release was on CMake 2.8.12.x. A few days ago Ubuntu 16.04, the new LTS, was released, and it contains CMake 3.5.1.<br class=""><br class="">I have a couple of motivations for this, the biggest of which is that I’ve hit a wall trying to overcome some limitations in the CMake ExternalProject module which I can’t get past without being on CMake 3.4 or newer. These limitations make using ExternalProject to build the LLVM test-suite and runtime libraries (compiler-rt, libcxx, etc) difficult.<br class=""><br class="">The other big motivation that I have for this is the ability to cleanup code. We have a lot of CMake code that checks CMAKE_VERSION and enables and disables features used on the version. None of the places where we currently have CMAKE_VERSION checks should impact build correctness, but most people don’t realize that if you’re using Ninja your build will be faster on a newer CMake than on an older one. It would be nice if we just pushed the bar up and could remove a bunch of those conditionals.<br class=""><br class="">To do this we need bot maintainers to update their CMake installations, so we need some consensus that (1) we want to do this and (2) what a reasonable timeline for doing it is.<br class=""><br class="">What I’d like to do is raise the minimum version for all LLVM projects to CMake 3.4.3 at the end of May. Setting the date at the end of May gives bot maintainers and developers lots of time to update, and CMake 3.4.3 is the last CMake 3.4 release and it is widely available. For reference here’s a list of linux distributions and their CMake versions:<br class=""><br class="">Ubuntu Wily -> 3.2.2<br class="">Ubuntu Xenial -> 3.5.1<br class="">Ubuntu Yakkety -> 3.5.1<br class="">Debian jessie -> 3.0.2<br class="">Debian stretch -> 3.5.1<br class="">Debian sid -> 3.5.2<br class="">FreeBSD 10.2 -> 3.5.0<br class="">FreeBSD HEAD -> 3.5.2<br class=""><br class="">Feedback?<br class=""><br class="">Thanks,<br class="">-Chris<br class="">_______________________________________________<br class="">cfe-dev mailing list<br class=""><a href="mailto:cfe-dev@lists.llvm.org" target="_blank" class="">cfe-dev@lists.llvm.org</a><br class=""><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br class=""></div></div></blockquote></div><br class=""></div></div><br class="">_______________________________________________<br class="">
cfe-dev mailing list<br class="">
<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br class="">
<br class=""></blockquote></div>
_______________________________________________<br class="">cfe-dev mailing list<br class=""><a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br class=""></div></blockquote></div><br class=""></div></div></body></html>