all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* RFC: writable private scratch XDG_CACHE_HOME in build enviroment?
@ 2017-02-21 11:15 Andy Wingo
  2017-02-21 12:13 ` Mathieu Lirzin
  2017-03-15 16:47 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Andy Wingo @ 2017-02-21 11:15 UTC (permalink / raw)
  To: guix-devel

Hi,

Guile will try to automatically compile .scm files and cache them in
XDG_CACHE_HOME.  When building Guile itself, Guile sets XDG_CACHE_HOME
to ${top_builddir}/cache.  What if we would set this ourselves for all
packages?  That way all packages could benefit from a scratch location
when building that wouldn't propagate to the outputs.

In Fibers I have some tests that I assume get compiled.  If they're not
compiled, they go quite slow (260s vs 5s).  Alternately I could add a
XDG_CACHE_HOME setting in Fibers.  Which should we do?

Regards,

Andy

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-15 16:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-21 11:15 RFC: writable private scratch XDG_CACHE_HOME in build enviroment? Andy Wingo
2017-02-21 12:13 ` Mathieu Lirzin
2017-02-21 13:44   ` Andy Wingo
2017-02-21 17:50     ` Mathieu Lirzin
2017-02-22  8:19       ` Andy Wingo
2017-03-15 16:47 ` Ludovic Courtès

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.