From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Tomas Volf <~@wolfsden.cz>, 72921@debbugs.gnu.org
Subject: bug#72921: Building emacs-yaml with emacs takes approximately eternity
Date: Sun, 01 Sep 2024 08:45:50 +0200 [thread overview]
Message-ID: <4b00fcb4424a4cd31d058ad79f8804edf5bffa77.camel@gmail.com> (raw)
In-Reply-To: <87a5gsl84w.fsf@wolfsden.cz>
Am Samstag, dem 31.08.2024 um 23:01 +0200 schrieb Tomas Volf:
> The emacs-yaml package is configured to build against emacs-minimal,
> which seems to work. When you however switch to emacs package, it
> takes way to long to build, much longer than compiling for example
> firefox package. That feels off.
>
> --8<---------------cut here---------------start------------->8---
> $ time guix time-machine -q --
> commit=b8327cb31199fb9f4ebed6c53a59601d41def5a1 -- build --check --
> no-grafts -q --with-input=emacs-minimal=emacs-minimal emacs-yaml
> /gnu/store/8lqdd8yna92zqgsgip396a1wbyhr5pfn-emacs-yaml-0.5.5
> 12.573 secs
> $ time guix time-machine -q --
> commit=b8327cb31199fb9f4ebed6c53a59601d41def5a1 -- build --check --
> no-grafts -q --with-input=emacs-minimal=emacs emacs-yaml
> /gnu/store/ja9xfndhfafjczp6n7qfy1h21hvdpd5j-emacs-yaml-0.5.5
> 2869.878 secs
> --8<---------------cut here---------------end--------------->8---
>
> The difference is huge. The process taking vast majority of the time
> (in the emacs version) is this one:
>
> --8<---------------cut here---------------start------------->8---
> 32393 guixbuil 47:10 {.emacs-29.4-rea}
> /gnu/store/y7yhpgi48klqpadrmfknl4bln9c4n05y-emacs-29.4/bin/emacs -no-
> comp-spawn -Q --batch -l /tmp/guix-build-emacs-yaml-0.5.5.drv-
> 0/emacs-int-comp-yaml-pbHFU3.el
> --8<---------------cut here---------------end--------------->8---
>
> I do not know enough to even guess what could be the problem, but it
> was suggested I should bug-report this.
This issue has already been reported updstream [1], but not addressed
yet: What takes so long between emacs-minimal and plain emacs is the
fact that plain emacs does native compilation.
emacs-build-system currently uses native compilation whenever that is
supported by the emacs used to build. Perhaps we should allow for some
choice here – ideas welcome.
Cheers
[1] https://github.com/zkry/yaml.el/issues/53
prev parent reply other threads:[~2024-09-01 6:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-31 21:01 bug#72921: Building emacs-yaml with emacs takes approximately eternity Tomas Volf
2024-09-01 6:45 ` Liliana Marie Prikler [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4b00fcb4424a4cd31d058ad79f8804edf5bffa77.camel@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=72921@debbugs.gnu.org \
--cc=~@wolfsden.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.