[libvirt] [PATCH 0/6] Ensure clean compile with clang
Daniel P. Berrange
berrange at redhat.com
Mon May 13 16:09:29 UTC 2013
On Mon, May 13, 2013 at 01:17:21PM +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at 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
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list