From a627b4f2bfb3012bd69650ee7defc9ef2ef2ec1e Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Sun, 19 Sep 2021 14:27:49 +0100 Subject: [bootstrap] Improve the error message when `ninja` is not found to link to installation instructions. Signed-off-by: Daira Hopwood --- src/bootstrap/lib.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/bootstrap') diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index a4735d54be0..9302217297b 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -1494,8 +1494,12 @@ impl Build { { eprintln!( " -Couldn't find required command: ninja -You should install ninja, or set `ninja=false` in config.toml in the `[llvm]` section. +Couldn't find required command: ninja (or ninja-build) + +You should install ninja as described at +, +or set `download-ci-llvm = true` in the `[llvm]` section of `config.toml` +to download LLVM rather than building it. " ); std::process::exit(1); -- cgit 1.4.1-3-g733a5