You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2019/05/21 06:06:00 UTC

[jira] [Resolved] (IMPALA-8529) ccache is ignored when using ninja generator

     [ https://issues.apache.org/jira/browse/IMPALA-8529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon resolved IMPALA-8529.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.3.0

Seems this works now after we upgraded to CMake 3.14, even without changes to CMakeFiles (at least when I run ninja -v I see ccache in use)

> 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)