[
https://issues.apache.org/jira/browse/IMPALA-8529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846215#comment-16846215
]
Tim Armstrong commented on IMPALA-8529:
---------------------------------------
I also see ccache in use locally, but it appears to be ineffective when used in
combination with distcc - I'm getting a minimal number of hits.
{noformat}
$ ccache -s
cache directory /home/tarmstrong/.ccache
primary config /home/tarmstrong/.ccache/ccache.conf
secondary config (readonly) /etc/ccache.conf
cache hit (direct) 32
cache hit (preprocessed) 2
cache miss 71
called for link 2822
called for preprocessing 10042
multiple source files 9394
compile failed 325
files in cache 3070
cache size 1.7 GB
max cache size 100.0 GB
{noformat}
> ccache is ignored when using ninja generator
> --------------------------------------------
>
> Key: IMPALA-8529
> URL: https://issues.apache.org/jira/browse/IMPALA-8529
> Project: IMPALA
> Issue Type: Task
> Reporter: Todd Lipcon
> Priority: Major
> Fix For: Impala 3.3.0
>
>
> The CMakeLists.txt sets up ccache by using RULE_LAUNCH_PREFIX, which is only
> respected by the Makefile generator. So, if we use ninja (which is generally
> better at parallelism) then ccache won't kick in. Newer versions of cmake
> have more explicit support for ccache that ought to also work with the ninja
> generator.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]