bug-gnulib
[Top][All Lists]
Advanced

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

Re: Parallelization of shell scripts for 'configure' etc.


From: Alexandre Oliva
Subject: Re: Parallelization of shell scripts for 'configure' etc.
Date: Tue, 21 Jun 2022 02:05:36 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

On Jun 13, 2022, Paul Eggert <eggert@cs.ucla.edu> wrote:

> In many Gnu projects, the 'configure' script is the biggest barrier to
> building because it takes soooo long to run. Is there some way that we
> could improve its performance without completely reengineering it, by
> improving Bash so that it can parallelize 'configure' scripts?

I don't know what counts as "completely reengineering it", but I gather
we could get quite a long way by introducing "parallelizable regions",
with explicitly named shell variables and other properties (say config.h
matter) as inputs and outputs (plus enabling macros to add to inputs and
outputs), and having autoconf generate a configure script, script
fragments for the regions, and a Makefile with the dependencies inferred
from explicit and implicit inputs and outputs.  The configure script
would then attempt to run make, or run the fragments serially.

-- 
Alexandre Oliva, happy hacker                https://FSFLA.org/blogs/lxo/
   Free Software Activist                       GNU Toolchain Engineer
Disinformation flourishes because many people care deeply about injustice
but very few check the facts.  Ask me about <https://stallmansupport.org>



reply via email to

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