GNU bug report logs -
#38613
Disabling bytecompilation on a list of files.
Previous Next
Reported by: Brett Gilio <brettg <at> posteo.net>
Date: Sat, 14 Dec 2019 21:03:01 UTC
Severity: normal
Done: Brett Gilio <brettg <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hey Brett.
Am Dienstag, den 14.12.2019, 13:45 -0600 schrieb Brett Gilio:
> Just forwarding along an idea discussed between Leo Prikler, Tobias,
> and I on IRC.
Thanks for the mention ;)
> Obviously just outright deleting the phase responsible for
> bytecompilation is not the _best_ solution. So what Leo and I
> proposed
> was adding a #:no-bytecomp which takes a list of REGEXP or files that
> will be excluded from the in-place byte-compilation.
>
> I wanted to float this idea by those of us who use the
> emacs-build-system regularly.
I actually came up with an alternative solution, that I already hinted
at in IRC. 0001 implements a function to disable byte compilation for
a single file, 0002 applies this to the package in question. I'm not
quite sure why the files are not writable and wonder, whether the chmod
should be added into 0001, but keeping it out of it should hopefully
prevent abuse.
It's rather late and this is just a proof of concept. I haven't fully
evaluated the impact this will have on Guix (specifically in the amount
of rebuilds it will cause). Also beware of my somewhat ill-formed
commit messages. After painfully checking each of the themes for this
bug however (on my machine, YMMV), I did update the comment for what
it's worth.
Regards,
Leo
[0001-guix-emacs-utils-Add-emacs-batch-disable-compilation.patch (text/x-patch, attachment)]
[0002-gnu-emacs-doom-themes-Only-disable-breaking-compilat.patch (text/x-patch, attachment)]
This bug report was last modified 5 years and 150 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.