[lxc-devel] [PATCH] lxc: kill libtool

Daniel Lezcano dlezcano at fr.ibm.com
Thu Oct 22 12:05:36 UTC 2009


Guido Trotter wrote:
> On Thu, Oct 22, 2009 at 5:17 AM, Cedric Le Goater <legoater at free.fr> wrote:
>> This is useless in a Linux only environment. The .so version is
>> the version of the package.
> 
> Well, in the future this shouldn't be (.so == version of the package)
> if we want to provide a library, and not just binaries.
> And if we want to provide just binaries, no point in building the
> library at all! :)

I think it would be nice to have a library in the future with the cli 
using it. The library can be useful for a GUI container management or a 
container daemon manager.

But as we are not yet really clear where the frontier is between the 
library api and the cli, I propose to keep removing the libtool for now 
and when we reach a clear stable API for the library and the cli, let's 
tag lxc with 1.0.0 and freeze this api (cli and lib) and put in place a 
library version management.

In the meantime I tried to generate lxc with and without libtool, we are 
two times faster :) useful when we are in development stage.

Time of autogen.sh + configure + make -j 2 on my laptop:

Before this patch:
------------------

real	0m17.588s
user	0m10.470s
sys	0m6.081s

After this patch:
-----------------

real	0m9.353s
user	0m6.000s
sys	0m2.677s

Thanks.
   -- Daniel




More information about the lxc-devel mailing list