ci: Integrate ccache into MSVC build #24540

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:220312-ccache changing 2 files +12 −2
  1. hebasto commented at 2:05 AM on March 12, 2022: member

    ccache 4.6:

    Added support for caching calls to Microsoft Visual C++ (MSVC)

    Integrated into our native Windows CI task.

    On master (c109e7d51c9c5614aafce184c63b52ad2e859eb2): Screenshot from 2022-03-12 10-17-58

    This PR: Screenshot from 2022-03-12 10-25-33

    Summary:
      Hits:             222 /  222 (100.0 %)
        Direct:         222 /  222 (100.0 %)
        Preprocessed:     0 /    0
      Misses:             0
        Direct:           0
        Preprocessed:     0
      Errors:             7
      Uncacheable:        9
    Primary storage:
      Hits:             444 /  444 (100.0 %)
      Misses:             0
      Cache size (GB): 0.04 / 5.00 (0.86 %)
    
    Use the -v/--verbose option for more details.
    
  2. ci: Integrate ccache into MSVC build 3a53927f03
  3. DrahtBot added the label Tests on Mar 12, 2022
  4. hebasto force-pushed on Mar 12, 2022
  5. hebasto marked this as ready for review on Mar 12, 2022
  6. hebasto commented at 9:27 AM on March 12, 2022: member
  7. sipsorcery commented at 9:47 AM on March 12, 2022: member

    @hebasto makes sense if you trust the caching tool to correctly detect source file changes etc.

    Personally I don't trust compilers, let alone caching tools, enough to get it right with large source code bases, such as Bitcoin Core, and alawys do a clean; build.

  8. DrahtBot commented at 3:11 AM on March 26, 2022: member

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #24668 (build, qt: bump Qt5 version to 5.15.3 by prusnak)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  9. MarcoFalke commented at 6:23 PM on March 29, 2022: member

    Should be easy to revert if something goes wrong

  10. MarcoFalke merged this on Mar 29, 2022
  11. MarcoFalke closed this on Mar 29, 2022

  12. hebasto deleted the branch on Mar 29, 2022
  13. sidhujag referenced this in commit dd21e206d1 on Apr 3, 2022
  14. DrahtBot locked this on Mar 29, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-24 21:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me