[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile fi
From: |
Hilton Chain |
Subject: |
[bug#65478] [PATCH emacs-team] gnu: emacs-flim-lb: Explicitly compile files to bytecode. |
Date: |
Sun, 27 Aug 2023 23:39:36 +0800 |
On Sun, 27 Aug 2023 23:13:44 +0800,
Liliana Marie Prikler wrote:
>
> Am Sonntag, dem 27.08.2023 um 20:52 +0800 schrieb Hilton Chain:
> > On Sun, 27 Aug 2023 14:24:01 +0800,
> > Liliana Marie Prikler wrote:
> > >
> > > Am Donnerstag, dem 24.08.2023 um 02:00 +0800 schrieb Hilton Chain:
> > > > * gnu/packages/emacs-xyz.scm (emacs-flim-lb)[#:phases]: Replace
> > > > 'build phase to byte compile files explicitly.
> > > > ---
> > > Why do we need this? If it's to disable native compilation, please
> > > add a file-local variable to do so.
> >
> > I have tested the package on Emacs 28 and 29 with combinations of elc
> > or eln files in the output, and byte-compiled elc files seem to be a
> > requirement to use it -- otherwise the error would occur. Disabling
> > native compilation won't help...
> How is your phase functionally different from disabling native
> compilation? IIUC, it deletes all pre-existing bytecode and native
> code and then runs bytecode compilation. Where do these elc and eln
> files even come from?
Currently on master:
$ guix build emacs-flim-lb
has elc files.
$ guix build emacs-flim-lb --with-input=emacs-minimal=emacs
has elc and eln files.
$ guix build emacs-flim-lb --with-input=emacs-minimal=emacs-next
has eln files.
And I tried to build it with 'build phase deleted as well. Had them
all tested and came to the conclusion that elc files are required.
[bug#65478] [PATCH emacs-team v2] build: emacs-utils: Adjust `emacs-compile-directory' for Emacs 29., Hilton Chain, 2023/08/28