-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve hit-rate on buildcaches #43272
Improve hit-rate on buildcaches #43272
Commits on Mar 29, 2024
-
Relax compiler and target mismatches
The mismatch occurs on an edge. Previously it was assigned the parent priority, now it is assigned to the child priority. This should make reuse from buildcaches or store more likely, since most mismatches will be counted with "reused" priority.
Configuration menu - View commit details
-
Copy full SHA for aad77fc - Browse repository at this point
Copy the full SHA aad77fcView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 5bf52e9 - Browse repository at this point
Copy the full SHA 5bf52e9View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 23480c1 - Browse repository at this point
Copy the full SHA 23480c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bdf1bc - Browse repository at this point
Copy the full SHA 3bdf1bcView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for ed3b0be - Browse repository at this point
Copy the full SHA ed3b0beView commit details -
Bump clang version from 12 to 15 in unit-tests
This is to avoid differences on m1 with respect to x86_64 machines
Configuration menu - View commit details
-
Copy full SHA for c0ce6ed - Browse repository at this point
Copy the full SHA c0ce6edView commit details -
Bump gcc version from 4.8.0 to 9.4.0 in unit tests
This is to avoid differences on m1 with respect to x86_64
Configuration menu - View commit details
-
Copy full SHA for 523c704 - Browse repository at this point
Copy the full SHA 523c704View commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b5439b1 - Browse repository at this point
Copy the full SHA b5439b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0715bab - Browse repository at this point
Copy the full SHA 0715babView commit details