bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38613: Disabling bytecompilation on a list of files.


From: Leo Prikler
Subject: bug#38613: Disabling bytecompilation on a list of files.
Date: Sun, 15 Dec 2019 01:35:27 +0100
User-agent: Evolution 3.32.4

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

Attachment: 0001-guix-emacs-utils-Add-emacs-batch-disable-compilation.patch
Description: Text Data

Attachment: 0002-gnu-emacs-doom-themes-Only-disable-breaking-compilat.patch
Description: Text Data


reply via email to

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