summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2024-04-05 20:10:28 +0200
committerGitHub <noreply@github.com>2024-04-05 20:10:28 +0200
commit826e0c0405c32b5e9a9c37a5f12e9bdbd279ac59 (patch)
tree492ac28b80b05e1684b9a39641f4dfb6e92c401e /etc
parent1b86a842ead6e745fa1b0c718d93e673e1e00c84 (diff)
downloadspack-826e0c0405c32b5e9a9c37a5f12e9bdbd279ac59.tar.gz
spack-826e0c0405c32b5e9a9c37a5f12e9bdbd279ac59.tar.bz2
spack-826e0c0405c32b5e9a9c37a5f12e9bdbd279ac59.tar.xz
spack-826e0c0405c32b5e9a9c37a5f12e9bdbd279ac59.zip
Improve hit-rate on buildcaches (#43272)
* Relax compiler and target mismatches The mismatch occurs on an edge. Previously it was assigned the parent priority, now it is assigned the child priority. This should make reuse from buildcaches or store more likely, since most mismatches will be counted with "reused" priority. * Optimize version badness for runtimes at very low priority We don't want to e.g. switch other attributes because we cannot reuse an old installed runtime. * Optimize runtime attributes at very low priority This is such that the version of the runtime would not influence whether we should reuse a spec. Compiler mismatches are considered for runtimes, to avoid situations where compiling foo%gcc@9 brings in gcc-runtime%gcc@13 if gcc@13 is among the available compilers * Exclude specs without runtimes from reuse This should ensure that we do not reuse specs that could be broken, as they expect the compiler to be installed in a specific place.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions