From: "Arsen Arsenović" <arsen@gentoo.org>
To: Sam James <sam@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org, scheme@gentoo.org
Subject: [gentoo-dev] Re: [PATCH] guile-utils.eclass: set GUILE_AUTO_COMPILE=fresh
Date: Thu, 26 Dec 2024 11:38:41 +0100 [thread overview]
Message-ID: <87cyhe7mq6.fsf@gentoo.org> (raw)
In-Reply-To: <53d1a299f12989fe914efbb5e5f5678ae5010320.1735207376.git.sam@gentoo.org> (Sam James's message of "Thu, 26 Dec 2024 10:02:57 +0000")
[-- Attachment #1: Type: text/plain, Size: 1525 bytes --]
Hi Sam,
Sam James <sam@gentoo.org> writes:
> Noticed this when looking at app-office/gnucash which was disabling
> GUILE_AUTO_COMPILE entirely (see 72dbf2ec4049df11ad63576971883ee239eadb7f).
>
> We don't want Guile making decisions based on the system cache
> files. Always recompile so we're deterministic.
>
> See https://www.gnu.org/software/guile/manual/html_node/Environment-Variables.html#index-GUILE_005fAUTO_005fCOMPILE.
>
> Signed-off-by: Sam James <sam@gentoo.org>
> ---
> eclass/guile-utils.eclass | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/eclass/guile-utils.eclass b/eclass/guile-utils.eclass
> index b0660dcfd1ce6..d066013486edc 100644
> --- a/eclass/guile-utils.eclass
> +++ b/eclass/guile-utils.eclass
> @@ -84,10 +84,14 @@ guile_check_compat
> # @FUNCTION: guile_set_common_vars
> # @DESCRIPTION:
> # Sets common variables that apply to all Guile packages, namely,
> -# QA_PREBUILT.
> +# GUILE_AUTO_COMPILE and QA_PREBUILT.
> guile_set_common_vars() {
> debug-print-function ${FUNCNAME} "$@"
>
> + # We don't want Guile making decisions based on the system cache
> + # files. Always recompile so we're deterministic.
> + export GUILE_AUTO_COMPILE=fresh
> +
> # These aren't strictly speaking prebuilt. but they do generated a
> # nonstandard ELF object.
> if [[ -z ${QA_PREBUILT} ]]; then
Thanks, this is reasonable - feel free to apply (not at dev machine at
the moment).
Happy holidays!
--
Arsen Arsenović
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 251 bytes --]
next prev parent reply other threads:[~2024-12-26 10:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-26 10:02 [gentoo-dev] [PATCH] guile-utils.eclass: set GUILE_AUTO_COMPILE=fresh Sam James
2024-12-26 10:38 ` Arsen Arsenović [this message]
2024-12-26 10:59 ` [gentoo-dev] " Sam James
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=87cyhe7mq6.fsf@gentoo.org \
--to=arsen@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=sam@gentoo.org \
--cc=scheme@gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox