Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9034

ccache + distcc doesn't work with local ccache

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 3.3.0
    • Impala 3.4.0
    • Infrastructure
    • None

    Description

      I've been noticing this for a while that ccache doesn't actually get local hits when I'm using distcc. I think I broke this with IMPALA-4701. It seems like the proper way to do wrapper scripts with ccache is to use CCACHE_PREFIX https://ccache.dev/manual/3.4.html#_using_ccache_with_other_compiler_wrappers.

      Anyway I played around with this and got it to work nicely and it makes local builds when switching branches much faster.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tarmstrong Tim Armstrong
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment