Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Ccache


  
  ccache
ccache is a re-implementation of Erik's idea in C with more features and better performance.
It is very common for developers to do a clean build of a project for a whole host of reasons, and this throws away all the information from your previous compiles.
The only way you should be able to tell that you are using ccache is the speed.
ccache.samba.org   (495 words)

  
 Credentials Cache API v3 Specification
A ccache is uniquely identified by its name, which is a string internal to the API and not intended to be presented to users.
If the default ccache is destroyed, the ccache that was most recently default before it is made the default ccache, unless the default ccache was the only ccache in the collection; in that case, no ccache is made default, as there are no ccaches left.
If changes are made to the ccache while an iterator is being used on it, the iterator must return at least the intersection, and at most the union, of the set of credentials that were in the ccache when the iteration began and the set of credentials that are in the ccache when it ends.
web.mit.edu /macdev/Development/MITKerberos/MITKerberosLib/CCacheLib/Documentation/ccache-api-v3.html   (5192 words)

  
 Well, I'm Back: Sharing binaries across multiple Mozilla trees with ccache
ccache can partially overcome this problem by caching the results of compiler invocations so that when a compilation is performed that is "identical" to a previous invocation, the resulting object file will simply be fetched from the cache.
So when you use ccache with multiple trees, compiling the same source file in different trees will do the compile in the first tree to be built, and then the other trees will simply get that object file from the cache.
The most efficient way to use ccache is to have it hardlink the cache file to the output, so that there's only one file on disk that's used everywhere (instead of having to make separate copies in each tree).
weblogs.mozillazine.org /roc/archives/2005/01/sharing_binarie.html   (715 words)

  
 LUG@GT :: Articles :: Compiler Frontends: ccache
Ccache is a frontend to your favorite C/C++ compiler that caches object files, so that if a build is run multiple times, needless recompilations are not necessary.
When ccache is called using /usr/local/bin/gcc, it will search the path for the first executable program named gcc that is not a symlink to ccache.
Since ccache needs to know which arguments are options and which are files, it assumes that any argument that is also a valid filename is referring to that file.
www.lugatgt.org /articles/ccache   (779 words)

  
 Improve collaborative build times with ccache
With ccache, the output of the CPP version of the file would be checked with the hash of the previous compilation.
Installing ccache and using it is not as complicated as you might think.
As previously mentioned, the effects of ccache won't be felt on the first compilation.
www-106.ibm.com /developerworks/linux/library/l-ccache.html   (2218 words)

  
 Improve collaborative build times with ccache
The ccache tool improves the build performance by caching the incorporation of header files into source files and therefore speeds the build time by reducing the time required to add in header files with each compilation stage.
With ccache, the output of the CPP version of the file would be checked with the hash of the previous compilation.
Just using ccache alone saves almost 3 minutes (well, 2 minutes and 45 seconds) on the build time of Perl, all because ccache has kept pre-parsed versions of the header files and used them in place of continually re-running cpp on each source file.
www.ibm.com /developerworks/linux/library/l-ccache.html   (2218 words)

  
 ccache (Linux Reviews)
The reason this can be important is that ccache does need to parse the command line and determine what is an input filename and what is a compiler option, as it needs the input filename to determine the name of the resulting object file (among other things).
The heuristic ccache uses in this parse is that any string on the command line that exists as a file is treated as an input file name (usually a C file).
Normally ccache tries to automatically determine the extension to use for intermediate C pre-processor files based on the type of file being compiled.
linuxreviews.org /man/ccache/index.html.en   (2004 words)

  
 distcc manual page
ccache is a program that speeds software builds by caching the results of compilations.
ccache is normally called before distcc, so that results are retrieved from a normal cache.
As of version 2.2, ccache does not cache compilation from preprocessed source and so will never get a cache hit if it is run from distccd or distcc.
distcc.samba.org /man/distcc_1.html   (2781 words)

  
 OSNews.com
The ccache tool improves the build performance by caching the incorporation of header files into source files and therefore speeds the build time by reducing the time required to add in header files with each compilation stage.
ccache stores in a directory the command line of the compiler, the *.o output of a compilation and the hash of the file.
ccache calls the preprocessor obtaining a *.i file (preprocessed source) of the compiler and hashes it.
www.osnews.com /comment.php?news_id=8129   (949 words)

  
 [No title]   (Site not responding. Last check: 2007-11-03)
ccache is a re-implementation of Erik's idea in C with more features and better performance.
It is very common for developers to do a clean build of a project for a whole host of reasons, and this throws away all the information from your previous compiles.
ccache compilercache normal 13m 4s 13m 4s uncached 13m 15s 15m 41s cached 2m 45s 4m 26s How to use it You can use ccache in two ways.
distro.ibiblio.org /pub/linux/distributions/uos/sputnik/descr/ccache   (549 words)

  
 freshmeat.net: Project details for ccache
I think ccache is one of the best additions to the development tool chain/box in a number of years.
By using a shared ccache among our group of developers, the compile times are cut drastically in situations such as when new code has been pulled from the SCM repository.
Wether you are playing with some source code or you're a software packager, ccache will save you precious time on recompiling.
freshmeat.net /projects/ccache   (375 words)

  
 Ccache - Gentoo Linux Wiki
The first time that you emerge a package after setting up ccache, there will be a very slight increase in its compilation time, but thereafter (when the compilation is cached), you will notice significant reductions.
Thus we have a number of symlinks in the ccache directory which bear names that correspond to the various c and c++ compilers that portage looks for.
If you also use DistCC, be sure you add the "ccache" option first and "distcc" second in your features list to take full advantage of both.
gentoo-wiki.com /Ccache   (910 words)

  
 Elliot Murphy 28:1 » Blog Archive » speed up mysql compiles with ccache and distcc
The generated makefiles have built in support for using the excellent ccache, which is a caching pre-processor for C/C++ compilations.
SCons has built-in support for ccache functionality, and the caching algorithm works with any kind of generated object, not limited to C/C++ compiler output.
As a result, I’m now looking at both ccache and distcc because I tend to compile snapshots of PHP 5.1 from http://snaps.php.net a lot.
raraavisresearch.com /memo/archives/2005/10/16/speed-up-mysql-compiles-with-ccache-and-distcc   (1044 words)

  
 [No title]   (Site not responding. Last check: 2007-11-03)
Unfortunately, while this method of using ccache is very clean, it also happens to be sub-optimal for use with distcc.
Using ccache with distcc using the method described in the last article will cause distcc to be called first.
The drawback to this approach is that ccache doesn't get enabled transparently as it did before—it requires explicit tweaks to the way you call Makefiles, just as distcc does.
www.intel.com /cd/ids/developer/asmo-na/eng/20565.htm?page=6   (408 words)

  
 [linux-mm-cc] Some testings using ccache pre-alpha 003 for i386
All tests had this scenario: - linus kernel 2.6.18-rc4 with ccache pre-alpha 003 applied - qemu with ubuntu-dapper image - 128MB of RAM - No Swap devices - After every test, the machine was rebooted Memory Behavior ----------------------------------------------------------- This test intends to evaluate what happens on the system when it has a high memory load.
I believe it is expected once we naturally have an overhead to use the ccache system: all those chunk's operations, vswap control, etc...
I was expecting a gain on the speed when using ccache, once we should have more 'firefox anonpages' in the memory when using ccache.
mailman.laptop.org /pipermail/linux-mm-cc/2006-August/000055.html   (754 words)

  
 [No title]
A caching build is supported by a compiler wrapper such as distcc's sister program ccache.
Ccache provides some statistics (ccache -s) of the cache.
It also lets you clear the cache (ccache -C) which is useful when getting things to work as you can force a compilation.
www.hep.umn.edu /minos/WebDocs/msrt-parallel.html   (754 words)

  
 Blog for johnm
For today, this is just a wee note about my previous entry, in which I had found an inadequacy in ccache's hash.
One of ccache's big features over compilercache is that it doesn't give up in the face of warnings.
[ccache provides] exactly the same object files and exactly the same compiler warnings that would be produced if you use the real compiler.
www.advogato.org /person/johnm/diary.html?start=24   (2872 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.