spack/lib/spack
Massimiliano Culpo 826e0c0405
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.
2024-04-05 20:10:28 +02:00
..
docs Add handling of custom ssl certs in urllib ops (#42953) 2024-04-01 11:11:13 -07:00
env remove dpcpp compiler and package (#43418) 2024-04-03 15:34:23 -07:00
external Update archspec to v0.2.3 (#42854) 2024-03-12 09:31:15 +01:00
llnl strip url: fix whl suffix, remove exe (#43344) 2024-03-25 13:46:09 +01:00
spack Improve hit-rate on buildcaches (#43272) 2024-04-05 20:10:28 +02:00
spack_installable Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00