Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-28 08:25:28

0001 # shellcheck shell=sh
0002 ## Compressed image size caps, in GiB.
0003 ##
0004 ## A build fails when a final image exceeds its cap here, which catches size
0005 ## regressions early (for example an accidentally Spack-built LLVM pulling in
0006 ## hundreds of MiB).  Images without an entry are not size-checked.
0007 ##
0008 ## This file is sourced by both CI systems -- .github/workflows/build-base.yml
0009 ## and build-eic.yml, and the base and eic jobs in .gitlab-ci.yml -- so the
0010 ## caps are defined once.  Keep it POSIX sh: the GitLab jobs source it from
0011 ## busybox ash.  The variables are exported because the GitLab jobs read them
0012 ## back with printenv, while the GitHub jobs use bash indirect expansion.
0013 ##
0014 ## Variable names follow SIZE_LIMIT_<IMAGE NAME UPPERCASED>_GIB, which is how
0015 ## every consumer looks them up from the image name it is building.
0016 ##
0017 ## To raise a cap after an intentional size increase:
0018 ##   1. read the published size off the failing job's check_image_size output
0019 ##   2. add ~15% headroom and round up
0020 ##   3. update the single entry below
0021 
0022 export SIZE_LIMIT_DEBIAN_STABLE_BASE_GIB="0.9"
0023 export SIZE_LIMIT_EIC_CI_GIB="3.1"
0024 export SIZE_LIMIT_EIC_XL_GIB="4.7"
0025 export SIZE_LIMIT_EIC_TF_GIB="6.1"
0026 export SIZE_LIMIT_EIC_CUDA_GIB="8.1"
0027 export SIZE_LIMIT_EIC_DEV_CUDA_GIB="10.9"