|
|
#1 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
Speed up in Fink with ccache...
One of the first packages I installed when upgrading to Fink for 10.2 is the package ccache-----1.9-1 ported to Fink by Ben Hines.
It md5sums cat of cc command line arguments and preprocessor output (including warnings), so include files aren't a problem, and stores object files in a cache directory in your home directory. Is great for cvs builds with fink. The only way you should be able to tell that you are using ccache is the speed. 5 to 10 times speedup in common compilations. Well, it consumes disk space, but you can set the cache size. options to ccache: Code:
-s show statistics summary
-z zero statistics
-c run a cache cleanup
-F <maxfiles> set maximum files in cache
-M <maxsize> set maximum size of cache (use G, M or K)
-h this help page
-V print version number
Code:
153 [Sao @/Users/pm] % ccache -s cache hit 920 cache miss 8852 called for link 1557 multiple source files 41 compile failed 219 preprocessor error 152 not a C/C++ file 742 autoconf compile/link 2463 unsupported compiler option 2999 no input file 233 files in cache 17704 cache size 265.9 Mbytes For more info you can read here: http://ccache.samba.org/ Cheers... Last edited by sao; 09-14-2002 at 05:36 PM. |
|
|
|
![]() |
|
|