[Top][All Lists]

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

Re: please make byte compiling during bootstrap take advantage of make -

From: Eli Zaretskii
Subject: Re: please make byte compiling during bootstrap take advantage of make -j
Date: Thu, 08 May 2008 13:30:01 +0300

> From: Glenn Morris <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Wed, 07 May 2008 18:33:41 -0400
> Eli Zaretskii wrote:
> > And what's wrong with hard-coding them, exactly?
> Just that it's inelegant and more work. Even the directory names
> aren't hard-coded at present.

We already have similar lists in src/Makefile.in and in
leim/Makefile.in, so I don't see a problem with having a full list in
lisp/Makefile.in.  We don't add files frequently enough to make that a
bother, IMO.

> So, I envisage:
> 1. A rule run at the end of bootstrap that finds all the .elc files
> and updates Makefile.in (yuck; I'd prefer an include file, but it
> seems this is not portable either?).

Yes, include is non-portable.

But I don't think this will work: you need to know the list of files
to compile in advance, before the bootstrap.  Doing it only after the
bootstrap, and relying on .elc files, would be a chicken-and-egg
problem, no?

I think you can safely have a full list of all .el files, and let the
no-byte-compile tag take care of which ones are actually compiled.

> 2. The compile targets changed to use the explicit list of .elc files
> constructed above.

You could use the list of .el files with .el=.elc construct.

reply via email to

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