]> git.lizzy.rs Git - rust.git/commit
Refactor if-available setting to work in CI
authorMark Rousskov <mark.simulacrum@gmail.com>
Sat, 30 Jul 2022 21:11:50 +0000 (17:11 -0400)
committerMark Rousskov <mark.simulacrum@gmail.com>
Fri, 19 Aug 2022 13:04:47 +0000 (09:04 -0400)
commit8ca14aa7ff9d0c4adde9c9058acbb2edf59bb05f
treecbb84233641f58d133195c05cd877241ad96a08e
parent2769d6b9cc08038c2fe4ac657a7991a720f6f3c0
Refactor if-available setting to work in CI

This verifies if the HEAD sha matches with the detected LLVM SHA, and if not,
permits usage of the detected LLVM. Otherwise, we fallback on regular
non-downloaded LLVM (currently still cached with sccache, though that's still
10+ minutes on macOS).
src/bootstrap/config.rs
src/bootstrap/native.rs
src/bootstrap/util.rs