Hi,

I adapted cw to use ccache for sunpro and gcc and it worked quite good. following are two passes of "dmake -k" on a onnv checkout as of yesterday (on an older system, hence some build errors). while there are some things that must be fixed in ccache (sunpro handling very likely), see "ccache internal error" and "unsupported compiler option", and maybe "not a C/C++ file" categories in the stats below, it's quite good already.

The cache was on an nfsv4 mount, so with a local cache, things should be a bit faster.


Regards,
Patrick Georgi



-----------------
first pass (empty cache):

real    7:31:34.20
user    4:21:34.47
sys     1:10:48.99

# ccache -s
cache directory                     /home/patrick/.ccache
cache hit                           1558
cache miss                         32487
called for link                     3135
multiple source files               6792
compile failed                        38
ccache internal error                161
preprocessor error                   128
not a C/C++ file                     736
unsupported compiler option            4
files in cache                     64974
cache size                           1.1 Gbytes
max cache size                       5.0 Gbytes


second pass (filled cache):

real    4:33:47.61
user    2:26:03.63
sys       36:14.72

# ccache -s
cache directory                     /home/patrick/.ccache
cache hit                          33909
cache miss                            34
called for link                     2085
multiple source files               6782
compile failed                        38
ccache internal error                161
preprocessor error                   128
not a C/C++ file                     454
unsupported compiler option            2
files in cache                     65042
cache size                           1.1 Gbytes
max cache size                       5.0 Gbytes

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to