bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Glenn Morris
Subject: Re: please make byte compiling during bootstrap take advantage of make -j
Date: Wed, 07 May 2008 18:33:41 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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.

> If you are worried about maintenance, then we could have a
> maintainer-only target that would update the list, and that target
> could use GNU Make features, like you suggest below.

If the names aren't going in a prerequisite, there's no need to use
GNU Makeisms.

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?).

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

3. The compile targets to run something like their current
implementations after the parallelizable part, to catch any new .elc
files not yet added to Makefile.in. Perhaps this isn't necessary,
since all it means is new files wouldn't get compiled until
Makefile.in was updated.




reply via email to

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