ci: Make ccache hashing content of compiler binary #27077

pull hebasto wants to merge 2 commits into bitcoin:master from hebasto:230210-ci-ccache changing 1 files +3 −0
  1. hebasto commented at 5:17 pm on February 10, 2023: member

    By default, ccache includes the modification time (mtime) and size of the compiler in the hash to ensure that results retrieved from the cache are accurate. But in CI environment compiler’s mtime can be unique each run.

    Effectively, this PR fixes #27063 (comment):

    Looks like ccache isn’t working here

    https://cirrus-ci.com/task/4571293245243392?logs=ci#L4178

  2. ci: Make `ccache` hashing content of compiler binary
    By default, `ccache` includes the modification time (`mtime`) and size
    of the compiler in the hash to ensure that results retrieved from the
    cache are accurate. But in CI environment compiler's `mtime` can be
    unique each run.
    d56dbd1950
  3. DrahtBot commented at 5:17 pm on February 10, 2023: member

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

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

  4. DrahtBot added the label Tests on Feb 10, 2023
  5. hebasto marked this as a draft on Feb 11, 2023
  6. hebasto marked this as ready for review on Feb 11, 2023
  7. hebasto marked this as a draft on Feb 11, 2023
  8. [DO NOT MERGE] ci: Invalidate `ccache` cache 6de4b7f145
  9. hebasto closed this on Feb 11, 2023

  10. fanquake locked this on Feb 19, 2023


hebasto DrahtBot

Labels
Tests


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: 2024-12-22 12:12 UTC

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