[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
62/63: build: Set XDG_CACHE_HOME to avoid loading stale .go files.
From: |
Mark H. Weaver |
Subject: |
62/63: build: Set XDG_CACHE_HOME to avoid loading stale .go files. |
Date: |
Thu, 4 Aug 2016 07:44:59 +0000 (UTC) |
mhw pushed a commit to branch core-updates-2016-08-01
in repository guix.
commit d92e23dc9dcc90f2fbf2c956201ae194d6d31742
Author: Ludovic Courtès <address@hidden>
Date: Mon Aug 1 22:52:54 2016 +0200
build: Set XDG_CACHE_HOME to avoid loading stale .go files.
Fixes <http://bugs.gnu.org/24120>.
Reported by myglc2 <address@hidden>.
* Makefile.am (make-go): Set XDG_CACHE_HOME.
---
Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 543b101..8bae85e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -389,11 +389,13 @@ CLEANFILES = \
# there that are newer than the local .scm files (for instance because the
# user ran 'make install' recently). When that happens, we end up loading
# those previously-installed .go files, which may be stale, thereby breaking
-# the whole thing.
+# the whole thing. Likewise, set 'XDG_CACHE_HOME' to avoid loading possibly
+# stale files from ~/.cache/guile/ccache.
%.go: make-go ; @:
make-go: $(MODULES) guix/config.scm guix/tests.scm
$(AM_V_at)echo "Compiling Scheme modules..." ; \
unset GUILE_LOAD_COMPILED_PATH ; \
+ XDG_CACHE_HOME=/nowhere \
host=$(host) srcdir="$(top_srcdir)" \
$(top_builddir)/pre-inst-env \
$(GUILE) -L "$(top_builddir)" -L "$(top_srcdir)" \
- 33/63: gnu: r-limma: Update to 3.28.17., (continued)
- 33/63: gnu: r-limma: Update to 3.28.17., Mark H. Weaver, 2016/08/04
- 47/63: gnu: wine: Update to 1.9.15., Mark H. Weaver, 2016/08/04
- 55/63: download: Add mirror.hydra.gnu.org as a content-addressed mirror., Mark H. Weaver, 2016/08/04
- 59/63: gnu: unison: Add input ghostscript., Mark H. Weaver, 2016/08/04
- 41/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 39/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 37/63: gnu: dico: Patch 'idxgcide' bug., Mark H. Weaver, 2016/08/04
- 49/63: gnu: dealii: Unregister deleted patch., Mark H. Weaver, 2016/08/04
- 57/63: gnu: ecl: Use "kernel-headers" instead of "linux-headers" to designate input., Mark H. Weaver, 2016/08/04
- 56/63: tests: 'guix-environment-container.sh' works when run from a tmpfs., Mark H. Weaver, 2016/08/04
- 62/63: build: Set XDG_CACHE_HOME to avoid loading stale .go files.,
Mark H. Weaver <=
- 63/63: install: Add nvi to the image., Mark H. Weaver, 2016/08/04
- 53/63: gnu: rapicorn: Add patch to handle isnan., Mark H. Weaver, 2016/08/04
- 40/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 61/63: Update NEWS., Mark H. Weaver, 2016/08/04
- 44/63: gnu: glibc-locales: Fix build., Mark H. Weaver, 2016/08/04