On 13.05.2013 18:09, Daniel P. Berrange wrote:
On Mon, May 13, 2013 at 01:17:21PM +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange(a)redhat.com>
>
> There are various problems building libvirt with clang,
> which mostly revolve around compiler warning handling.
> This series fixes all the problems I see with clang
> 3.2 on a Fedora 19 x86_64 host.
FYI, I measured the following compile times for the src/
directory
GCC: 2 minutes 40 seconds
CLang: 1 minute 50 seconds
So Clang cuts approx 30% off the GCC compile time, which is
quite nice. I might have to switch to running clang by
default for libvirt :-)
Daniel
FYI:
./autogen --system: 4m40.064s
make -j5 all : 1m22.870s
so I think compilation is not the major time consumer here :)
Michal