libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] libtool: minimise forks per invocation on cygwin and mingw.


From: Peter O'Gorman
Subject: Re: [PATCH] libtool: minimise forks per invocation on cygwin and mingw.
Date: Thu, 08 Dec 2011 07:40:58 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14

On 12/08/2011 04:21 AM, Gary V. Vaughan wrote:
The recently pushed series of patches included the controversial
introduction of an additional 3 forks per invocation, which might
add a minute or two of wall-clock time to giant builds on windows.
By assuming that windows will run shell scripts on some shell with
all the modern optional features that libtool wants, this patch
eliminates even those 3 new forks.

Okay to push?


Hi Gary,

The whole reason these checks were done in configure and not in libtool was to avoid these forks, and the slow down involved. We did a lot of work at speeding up libtool so that non-portable tools such as dolt would not be necessary, including moving large chunks of compile mode script closer the the top of libtool so that it would execute faster.

Any additional forks will slow down the script and should be avoided on all platforms.

Simply removing $(SHELL) from the LIBTOOL variable should fix the bug that this is attempting to fix, without slowing down libtool.

Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]