<div dir="ltr">Probably no one cares, but add to those, machines at home:<div><br></div><div>- i7 6700k, ubuntu 14.04: bootstrap 0m32s, make 0m35s</div><div>- Raspberry Pi 2 (4x A7 @900 MHz), Raspbian: bootstrap 9m40s, make 20m41s</div><div><br></div><div>Interesting that the Pi 3 only gains 25% - 30% over the Pi 2, whereas the newer i7 is double the speed of the 2012 one. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 28, 2016 at 12:42 AM, Bruce Hoult <span dir="ltr"><<a href="mailto:bruce@hoult.org" target="_blank">bruce@hoult.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">cmake is a big dependency, but it doesn't seem to have many dependencies itself. They say it's just a C++ compiler and a make (not necessarily gnu). Probably there are one or two more than that :-) A shell, for a start; git or tar/gzip etc.<div><br></div><div>The current *nix source tarball is 6.4 MB gzipped. Just for fun I grabbed it and tried building on four machines:</div><div><br></div><div><div>- 3.4 GHz i7 3770 with Ubuntu 14.04</div><div>- 2.2 GHz 2011 i7 MacBook Pro with Yosemite</div><div>- Odroid XU4 with Ubuntu Mate 15.10 (Exynos5422 4x A15 @2GHz, 4x A7 @1.4 GHz)</div><div>- Raspberry Pi 3 with Raspbian (4x A53 @1.2 GHz)</div><div><br></div><div>I used --parallel=4 on the Pi, 8 on the others</div><div><br></div><div>./bootstrap</div><div>- 1m10s linux</div><div>- 2m05s mbp</div><div>- 3m18s xu4</div><div>- 7m28s pi3</div><div><br></div><div>make</div><div>- 1m07s linux</div><div>- 1m18s mbp</div><div>- 5m14s xu4</div><div>- 16m31s Pi3</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Apr 27, 2016 at 10:08 AM, Renato Golin via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><p dir="ltr">We can't assume every Linux is Ubuntu, nor that every platform has packages for this or that release. </p>
<p dir="ltr">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">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">Cheers, <br>
Renato </p><div><div>
<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" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Actually forward to LLVM-dev because I obviously don’t know how email works…<div><br></div><div>-Chris<br><div><br><blockquote type="cite"><div>Begin forwarded message:</div><br><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(0,0,0,1.0)"><b>From: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">Chris Bieneman via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(0,0,0,1.0)"><b>Subject: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif"><b>[cfe-dev] Raising CMake minimum version to 3.4.3</b><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(0,0,0,1.0)"><b>Date: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">April 26, 2016 at 3:01:23 PM PDT<br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(0,0,0,1.0)"><b>To: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>>, <a href="mailto:llvm-dev@lists.apple.com" target="_blank">llvm-dev@lists.apple.com</a><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(0,0,0,1.0)"><b>Cc: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">Galina Kistanova <<a href="mailto:gkistanova@gmail.com" target="_blank">gkistanova@gmail.com</a>><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(0,0,0,1.0)"><b>Reply-To: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">Chris Bieneman <<a href="mailto:beanz@apple.com" target="_blank">beanz@apple.com</a>><br></span></div><br><div><div>Hello llvm-dev and cfe-dev,<br><br>I want open up the discussion of upgrading our minimum required CMake version.<br><br>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><br>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><br>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><br>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><br>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><br>Ubuntu Wily -> 3.2.2<br>Ubuntu Xenial -> 3.5.1<br>Ubuntu Yakkety -> 3.5.1<br>Debian jessie -> 3.0.2<br>Debian stretch -> 3.5.1<br>Debian sid -> 3.5.2<br>FreeBSD 10.2 -> 3.5.0<br>FreeBSD HEAD -> 3.5.2<br><br>Feedback?<br><br>Thanks,<br>-Chris<br>_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br></div></div></blockquote></div><br></div></div><br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div>
</div></div><br></div></div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>