On Mon, May 13, 2013 at 07:53:49PM +0200, Michal Privoznik wrote:
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 :)
I run 'autogen.sh' perhaps 2-3 times a day. I run 'make' as many
as 10-20 times an *hour*. So yes, compilation is the major time
consumer.
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 :|