rustbuild/LLVM: Do not print installation messages for up-to-date files

This commit is contained in:
Vadim Petrochenkov 2019-05-14 21:33:22 +03:00
parent f59c71eb8e
commit 3646b3c3d9

View File

@ -317,6 +317,10 @@ fn check_llvm_version(builder: &Builder<'_>, llvm_config: &Path) {
fn configure_cmake(builder: &Builder<'_>,
target: Interned<String>,
cfg: &mut cmake::Config) {
// Do not print installation messages for up-to-date files.
// LLVM and LLD builds can produce a lot of those and hit CI limits on log size.
cfg.define("CMAKE_INSTALL_MESSAGE", "LAZY");
if builder.config.ninja {
cfg.generator("Ninja");
}