]> git.lizzy.rs Git - rust.git/commit
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)
commit19e1aac6ea9879c6d10eed7106b3bc883e5bf9a5
tree857c0b411226e175cf39aa250537179101f76a59
parentf42692b1cc1552abf905f9b6650061d246024252
parentb8ae4c5e36d5ce36bf255dbaa66f64450b21efa5
Auto merge of #77756 - alarsyo:setup-llvm-detect, r=jyn514

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.