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: Mon, 05 May 2008 14:15:10 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Eli Zaretskii wrote:

> There's this comment in lisp/Makefile.in:
>
>     #                                      Files MUST be compiled one by
>     # one.  If we compile several files in a row we can't make sure that
>     # the compilation environment is clean.
>
> I have only a vague idea of what is this trying to say,

I think this means using:

emacs -f batch-byte-compile-if-not-done only-one-file.el

rather than 

emacs -f batch-byte-compile-if-not-done file1.el file2.el ... fileN.el

In the latter case, stuff defined in file1 might pollute the
compilation environment for file2.

> but assuming that this consideration is not important for several
> compilations going on in parallel,

If the above interpretation is correct, it would not be, and it would
be totally fine to compile in parallel (after those few .el files that
need to be done first).

> doing what you want boils down to making the `compile:' target
> depend on all the .elc files; the rest will be done automatically by
> Make.




reply via email to

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