]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #77756 - alarsyo:setup-llvm-detect, r=jyn514
authorbors <bors@rust-lang.org>
Thu, 15 Oct 2020 02:10:11 +0000 (02:10 +0000)
committerbors <bors@rust-lang.org>
Thu, 15 Oct 2020 02:10:11 +0000 (02:10 +0000)
Detect configuration for LLVM during setup

This is a first draft to address #77579, setting `download-ci-llvm` to true on Linux, but I could also implement the `if-available` setting mentioned in the issue.

On other platforms I was thinking about using [the which crate](https://crates.io/crates/which), if adding a dependency on it is considered okay of course, to detect the presence of `llvm-config` in the path, and use it if found. Still a work in progress of course.


Trivial merge