all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ccache & guix build
@ 2016-09-14 10:08 Vincent Legoll
  2016-09-14 10:24 ` ng0
  2016-09-14 14:14 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Vincent Legoll @ 2016-09-14 10:08 UTC (permalink / raw)
  To: help-guix

Hello,

Is there a way to use ccache for "guix build" ?

-- 
Vincent Legoll

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

* Re: ccache & guix build
  2016-09-14 10:08 ccache & guix build Vincent Legoll
@ 2016-09-14 10:24 ` ng0
  2016-09-14 10:41   ` Vincent Legoll
  2016-09-14 14:14 ` Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: ng0 @ 2016-09-14 10:24 UTC (permalink / raw)
  To: Vincent Legoll, help-guix

Vincent Legoll <vincent.legoll@gmail.com> writes:

> Hello,
>
> Is there a way to use ccache for "guix build" ?
>
> -- 
> Vincent Legoll

Can't this lead to build problems because to this cache? This is what
other projects say about building with a cache at least.

-- 
              ng0

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

* Re: ccache & guix build
  2016-09-14 10:24 ` ng0
@ 2016-09-14 10:41   ` Vincent Legoll
  0 siblings, 0 replies; 4+ messages in thread
From: Vincent Legoll @ 2016-09-14 10:41 UTC (permalink / raw)
  To: ng0; +Cc: help-guix

On Wed, Sep 14, 2016 at 12:24 PM, ng0 <ng0@we.make.ritual.n0.is> wrote:
> Vincent Legoll <vincent.legoll@gmail.com> writes:
>
>> Is there a way to use ccache for "guix build" ?
>
> Can't this lead to build problems because to this cache? This is what
> other projects say about building with a cache at least.

I would only enable it when packaging new SW, so that rebuilds are faster,
and also would do a final build without to be extra sure...

I used ccache quite a lot, and it saved far more time than it made me loose,
I seem to remember having build glitches sometimes, but nothing significant,
it is very conservative in its "caching" algos...

So I take this has not been used for guix build...

-- 
Vincent Legoll

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

* Re: ccache & guix build
  2016-09-14 10:08 ccache & guix build Vincent Legoll
  2016-09-14 10:24 ` ng0
@ 2016-09-14 14:14 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-09-14 14:14 UTC (permalink / raw)
  To: Vincent Legoll; +Cc: help-guix

Hi,

Vincent Legoll <vincent.legoll@gmail.com> skribis:

> Is there a way to use ccache for "guix build" ?

The short answer is “no”, because we cannot inject ccache in the build
process without changing it, strictly speaking.  However, the store is
essentially a cache, only coarse-grained compared to that of ccache.

Ludo’.

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

end of thread, other threads:[~2016-09-14 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14 10:08 ccache & guix build Vincent Legoll
2016-09-14 10:24 ` ng0
2016-09-14 10:41   ` Vincent Legoll
2016-09-14 14:14 ` 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.