guix: update per-host disk-space estimates in build gate #33889

pull djkazic wants to merge 1 commits into bitcoin:master from djkazic:adjust-guix-build-gate-disk-space-estimates changing 1 files +2 −2
  1. djkazic commented at 5:21 pm on November 17, 2025: none

    Today, the build gates are obsolete. I found this out after seeing someone flag this on a commit setting -static-libgcc. Note that the Linux builds came in at the expected amount of disk space utilization, so I did not touch the values for them.

    This PR aims to readjust the build gate disk space per-host estimates for darwin and mingw based on some testing I did locally in my build VM.

    Details: (Copied from https://github.com/kevkevinpal/bitcoin/issues/200):

    I ran HOSTS="x86_64-w64-mingw32" ./contrib/guix/guix-build

    After (+10 GiB):

    0Filesystem     1G-blocks  Used Available Use% Mounted on
    1/dev/sda5           512G   98G      393G  20% /gnu/store
    

    These numbers makes this change seem reasonable (1.5x safety factor):

    0-        *mingw*)  required_KiB=7600000 ;;
    1+        *mingw*)  required_KiB=15728640 ;;
    

    Then I ran HOSTS="aarch64-linux-gnu" ./contrib/guix/guix-build.

    After (+6 GiB):

    0Filesystem      Size  Used Avail Use% Mounted on
    1/dev/sda5       512G  104G  387G  22% /gnu/store
    

    Then I setup the SDK for macOS. This established a new before snapshot of disk use:

    0Filesystem      Size  Used Avail Use% Mounted on
    1/dev/sda5       512G  116G  375G  24% /gnu/store
    

    Then I ran HOSTS="x86_64-apple-darwin" ./contrib/guix/guix-build.

    After (+5 GiB):

    0Filesystem      Size  Used Avail Use% Mounted on
    1/dev/sda5       512G  121G  370G  25% /gnu/store
    

    IMO, this is grounds for updating this (5 GiB * 1.5x safety factor):

    0-        *darwin*) required_KiB=440000 ;;
    1+        *darwin*) required_KiB=8388608 ;;
    
  2. guix: update per-host disk-space estimates in build gate cbddfbac82
  3. DrahtBot added the label Build system on Nov 17, 2025
  4. DrahtBot commented at 5:21 pm on November 17, 2025: contributor

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

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33889.

    Reviews

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


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: 2025-11-26 21:13 UTC

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