[bootstrap] Improve the error message when ninja is not found to link to installation instructions.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2021-09-19 14:27:49 +01:00
parent 3bca7230ff
commit a627b4f2bf

View file

@ -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
<https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages>,
or set `download-ci-llvm = true` in the `[llvm]` section of `config.toml`
to download LLVM rather than building it.
"
);
std::process::exit(1);