Re: [PATCH] Disable static libraries by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/02/2013 10:09 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> Every source file is currently built twice by libtool, once for
> the shared library and once for the static library. Static libs
> are not commonly packaged by distros and slow down compilation
> time by as more than 50% compared to a shared-only build time.
> 
> Time for 'make -j 4':
> 
>       shared only: 2 mins  9 secs
>   shared + static: 3 mins 26 secs
> 
> Time for non-parallel make
> 
>       shared only: 3 mins 32 secs
>   shared + static: 5 mins 41 secs
> 
> Those few people who really want them, can pass --enable-static
> to configure

Question: should ./autobuild.sh be tweaked to pass --enable-static, just
so that we have some test coverage that ensures we don't break things
for that setup?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]