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

Cache object files, not only libraries

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 1.4
    • master
    • Other
    • None
    • 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

          For Gerrit Dashboard: COIN-130
          # Subject Branch Project Status CR V

          Activity

            People

              tosaario Toni Saario
              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