From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 65860@debbugs.gnu.org
Subject: [bug#65860] [PATCH 0/4] Resolve a circular module dependencies in embedded modules
Date: Sun, 17 Sep 2023 20:52:53 -0400 [thread overview]
Message-ID: <877coo715m.fsf@gmail.com> (raw)
In-Reply-To: <87o7i5glwr.fsf@gnu.org> ("Ludovic Courtès"'s message of "Thu, 14 Sep 2023 11:10:44 +0200")
Hi Ludovic,
Ludovic Courtès <ludo@gnu.org> writes:
[...]
> I agree that this needs to be addressed. I wondered whether/how hard we
> should search for a different solution.
OK. I think the current situation needs to be resolved ASAP, but longer
term I'm definitely willing to revisit our strategy when it comes to
cross compiler toolchains.
[...]
> BTW, another issue with the package-returning procedures: they return a
> fresh package object at each call, which defeats caching. I think you
> should be able to observe it with:
>
> GUIX_PROFILING=object-cache guix build axoloti-runtime -d --no-grafts
>
> The effect will be more acute on the build farms since they compute
> derivations for everything that depends on these toolchains.
>
> The solution would be to make those procedures memoizing, with ‘mlambda’
> or similar.
I haven't tried measuring the impact, but I've use mlambda in the v2
just sent; thanks for the suggesting it!
--
Thanks,
Maxim
next prev parent reply other threads:[~2023-09-18 0:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1694406359.git.maxim.cournoyer@gmail.com>
2023-09-11 4:25 ` [bug#65860] [PATCH 1/4] gnu: avr: Delay all cross compilation packages Maxim Cournoyer
2023-09-13 20:27 ` [bug#65860] [PATCH 0/4] Resolve a circular module dependencies in embedded modules Ludovic Courtès
2023-09-14 3:10 ` Maxim Cournoyer
2023-09-14 9:10 ` Ludovic Courtès
2023-09-18 0:52 ` Maxim Cournoyer [this message]
2023-09-25 17:58 ` [bug#66063] [PATCH v2 0/3] " Maxim Cournoyer
2023-09-11 4:25 ` [bug#65860] [PATCH 2/4] gnu: embedded: Turn packages using top-level variables into procedures Maxim Cournoyer
2023-09-11 4:25 ` [bug#65860] [PATCH 3/4] gnu: Remove extraneous imports Maxim Cournoyer
2023-09-13 20:06 ` Ludovic Courtès
2023-09-17 20:27 ` Maxim Cournoyer
2023-09-11 4:26 ` [bug#65860] [PATCH 4/4] doc: Add new 'Circular Module Dependencies' section Maxim Cournoyer
2023-09-11 4:19 [bug#65860] [PATCH 0/4] Resolve a circular module dependencies in embedded modules Maxim Cournoyer
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877coo715m.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=65860@debbugs.gnu.org \
--cc=ludo@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).