[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 05/05: build: Disable auto-compilation when running ‘guild co
From: |
Ludovic Courtès |
Subject: |
[shepherd] 05/05: build: Disable auto-compilation when running ‘guild compile’. |
Date: |
Wed, 4 Dec 2024 05:21:10 -0500 (EST) |
civodul pushed a commit to branch main
in repository shepherd.
commit 22fe9519e2f9daa9786af8c098e9022b75313642
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Dec 4 11:17:56 2024 +0100
build: Disable auto-compilation when running ‘guild compile’.
This avoids repeated warnings about auto-compilation failure of ‘guild’
in Guix build environments where $HOME is not writable by default.
* Makefile.am (%.go): Set ‘GUILE_AUTO_COMPILE=0’.
---
Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index b041615..5c7659a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -249,7 +249,8 @@ AM_V_GUILEC_0 = @echo " GUILEC " $@;
%.go: %.scm $(templates:%.in=%)
$(AM_V_GUILEC)$(MKDIR_P) "`dirname "$@"`" ; \
$(AM_V_P) && out=1 || out=- ; \
- unset GUILE_LOAD_COMPILED_PATH ; LC_ALL=C \
+ unset GUILE_LOAD_COMPILED_PATH ; \
+ LC_ALL=C GUILE_AUTO_COMPILE=0 \
$(GUILD) compile --target="$(host)" \
-L "$(top_builddir)/modules" \
-L "$(top_srcdir)/modules" \
- [shepherd] branch main updated (6e740fb -> 22fe951), Ludovic Courtès, 2024/12/04
- [shepherd] 01/05: bash completion: Complete ‘spawn’ for ‘transient’ service., Ludovic Courtès, 2024/12/04
- [shepherd] 02/05: logger: Ignore 'system-error when writing to the log file., Ludovic Courtès, 2024/12/04
- [shepherd] 04/05: guix: Add dependency on util-linux, for the ENOSPC test., Ludovic Courtès, 2024/12/04
- [shepherd] 05/05: build: Disable auto-compilation when running ‘guild compile’.,
Ludovic Courtès <=
- [shepherd] 03/05: guix: Avoid deprecated variable., Ludovic Courtès, 2024/12/04