Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-130

Cache object files, not only libraries

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: master
    • Fix Version/s: 1.4
    • Component/s: Other
    • Labels:
      None
    • Commits:
      015c86534c00b46625500e38d2558f72a6c60536

      Description

      CI is rebuilding quite a lot of similar code. Using a cache may reduce the build time significantly, the only problem is that we use volatile machines in CI, they do not keep state, therefore the cache would have to be pushed somewhere.

      ccache:
      Normally it is used locally, but it could be stored on a NFS drive. The problem is that it we want parallel access to the cache. Short search shows that it is not a good idea. Only unix is supported.
      sccache:
      Mozilla product, it was designed exactly for our purpose. The only thing is that it assumes S3 storage, which we do not have as we do not use AWS. Supports all 3 platforms.

      Solution:
      We use sccache and minio as local s3 storage

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              tosaario Toni Saario
              Reporter:
              tosaraja Tony Sarajärvi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes