[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: native-compilation: how to force the .eln files to be built
From: |
Eli Zaretskii |
Subject: |
Re: native-compilation: how to force the .eln files to be built |
Date: |
Tue, 13 Apr 2021 05:30:31 +0300 |
> From: Ken Brown <kbrown@cornell.edu>
> Date: Mon, 12 Apr 2021 18:07:53 -0400
>
> Is there an easy way to force the .eln files to be built if the .elc files
> are
> up to date?
No, at least not for some value of "easy". (How would you do that for
.elc files?)
> I often have more than one build directory for a given source directory. The
> different build directories might correspond to different configure options
> or
> different architectures, for example. After building in one directory, the
> .elc
> files in the source directory are all up to date. If I now build in a
> different
> directory, the .eln files might be out of date or even non-existent, but they
> don't get (re)built.
I wrote a script that compiles all the preloaded *.el files, and I run
that script in such situations.