Details
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
- is required for
-
COIN-133 rethinking qt modularization wrt. CI
- Reported
For Gerrit Dashboard: COIN-130 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
232218,66 | Enable use of sccache in the CI | dev | qt/qt5 | Status: MERGED | +2 | 0 |
291129,2 | Add qmake feature and configure option to use sccache | 5.14 | qt/qtbase | Status: ABANDONED | -1 | 0 |