This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: Reorder objects in libbackend.a for faster parallel build
- From: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Jan 2007 20:42:44 +0100
- Subject: Re: PATCH RFA: Reorder objects in libbackend.a for faster parallel build
- References: <m3ps968nwz.fsf@localhost.localdomain>
On Mon, Jan 22, 2007 at 06:41:48PM -0800, Ian Lance Taylor wrote:
> Index: Makefile.in
> ===================================================================
> --- Makefile.in (revision 121050)
> +++ Makefile.in (working copy)
> @@ -933,61 +933,247 @@ C_AND_OBJC_OBJS = attribs.o c-errors.o c
> C_OBJS = c-lang.o stub-objc.o $(C_AND_OBJC_OBJS)
>
> # Language-independent object files.
> +# We put the insn-*.o files first so that a parallel make will build
> +# them sooner, because they are large and otherwise tend to be the
> +# last objects to finish building.
Preferably, the object files should also be built such that <machine>.md
is checked for errors as early as possible. Then, once you've seen those few
files build correctly, you can go to sleep, work or whatever without risking
that the build stops shortly after because of some silly little error in the
machine description. So I think this patch is a great improvement.
--
Rask Ingemann Lambertsen