lkml.org 
[lkml]   [2002]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC/PATCH] improve interaction with ccache
Date
Keith Owens writes:
> Kai Germaschewski <kai-germaschewski@uiowa.edu> wrote:

>> As various people pointed out, ccache is a great win for people compiling
>> a lot of kernels. (For info on ccache, see ccache.samba.org)
...
> You are fixing the symptom, not the cause. The symptom is too many
> compiles, people are using ccache to attempt to fix the symptom. The
> cause is a kernel build system that forces people to make clean or
> mrproper between builds instead of reusing existing objects.
>
> Fix the cause, not the symptom.

Cause: gcc is slow
Symptom: builds are slow
Fix: make gcc fast

That fix won't happen, so we cache the results.
We have two ways to do this:

a. use "make", relying solely on timestamps
b. use "ccache", which uses an md5 checksum AFAIK

With ccache, one could even get rid of make.
It's redundant; just use a shell script. :-)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.038 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site