]> git.lizzy.rs Git - rust.git/commit
Auto merge of #99967 - Mark-Simulacrum:download-llvm-ci, r=jyn514
authorbors <bors@rust-lang.org>
Sat, 20 Aug 2022 22:49:36 +0000 (22:49 +0000)
committerbors <bors@rust-lang.org>
Sat, 20 Aug 2022 22:49:36 +0000 (22:49 +0000)
commitfb80d2bfe4413b2e3228dc76a792744dbc1892be
tree25ca214ddc17100dece94e409dfe064875ae7ac7
parent878aef79dcdf59d19bb8482202dc55e58ceb62ff
parentd7b91c31207a1440732b01d357181c68e7e72a97
Auto merge of #99967 - Mark-Simulacrum:download-llvm-ci, r=jyn514

Download, rather than sccache-cache, LLVM in CI

My hope/expectation is that we can do better than sccache in CI for cached builds -- currently it looks like on macOS those still take upwards of 10-11 minutes, which is a significant amount of time that we could potentially cut.

This enables this mode for all non-dist builders; this should avoid any problems with the artifacts we distribute, while also providing for faster test builders (since they'll make use of PGO'd LLVM on the platforms we do that on, which is hopefully a nice win). It slightly increases the chance of test builders starting to fail only after a PR is merged (if PGO changes runtime behavior), but that should hopefully never happen, so I think this is worthwhile.

Measurements on the PR for apple-1 don't show any noticeable improvement in CI times, but those can be pretty noisy -- I'm inclined to land this since it *should* pretty much always be better and we can reconsider if that ever turns out not to be the case.