[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 <rgm@gnu.org>
> Cc: bug-gnu-emacs@gnu.org, dann@ics.uci.edu
> 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.
- please make byte compiling during bootstrap take advantage of make -j, Dan Nicolaescu, 2008/05/04
- Re: please make byte compiling during bootstrap take advantage of make -j, Eli Zaretskii, 2008/05/04
- Re: please make byte compiling during bootstrap take advantage of make -j, Glenn Morris, 2008/05/05
- Re: please make byte compiling during bootstrap take advantage of make -j, Glenn Morris, 2008/05/06
- Re: please make byte compiling during bootstrap take advantage of make -j, Eli Zaretskii, 2008/05/07
- Re: please make byte compiling during bootstrap take advantage of make -j, Glenn Morris, 2008/05/07
- Re: please make byte compiling during bootstrap take advantage of make -j,
Eli Zaretskii <=
- Re: please make byte compiling during bootstrap take advantage of make -j, Glenn Morris, 2008/05/08
- Re: please make byte compiling during bootstrap take advantage of make -j, Eli Zaretskii, 2008/05/09
- Re: please make byte compiling during bootstrap take advantage of make -j, Dan Nicolaescu, 2008/05/09
- Re: please make byte compiling during bootstrap take advantage of make -j, Eli Zaretskii, 2008/05/09
- Re: please make byte compiling during bootstrap take advantage of make -j, Richard M Stallman, 2008/05/07
bug#189: marked as done (please make byte compiling during bootstrap take advantage of make -j), Emacs bug Tracking System, 2008/05/29