Mailinglist Archive: opensuse-factory (602 mails)

< Previous Next >
Re: [opensuse-factory] Can we assume that /bin/sh is bash?
On Mon, 2019-02-11 at 12:24 +0100, Joerg Schilling wrote:
Michal Suchánek <msuchanek@xxxxxxx> wrote:

Many packages that build slow spend a lot of time actually
*compiling*
stuff.

Are you shure?

Before I did run performance analysis on "configure", I thought that
the
compiler is the most time consuming thing in this area and I failed
completely
with this assumption.

IIRC even "configure" spends a lot of time compiling, as it forks the
compiler many times for testing things.
Indeed there are packages where "configure" takes substantially more
time that the actual "make".

Anyway, for speeding up "configure", we could simply replace the
"./configure" call with

"$CONFIG_SHELL=$someshell $someshell ./configure"

in those spec files where this really matters. So I reckon that
"configure" speed is not a strong argument for making /bin/sh
customizable.

Martin


--
Dr. Martin Wilck <mwilck@xxxxxxxx>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)


--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups