diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-09 10:34:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-09 10:34:54 +0100 |
| commit | 37ff6805c9bb2a424fee944ffa435cc075bfb779 (patch) | |
| tree | a007984ed3d94eafe891ec8d5ffddb9bcac84314 /src | |
| parent | 92fd45b14f5cdeaf25f2f7dd6aff49f7686880e1 (diff) | |
| parent | 2cff733dc5e9c2d390c887ca5aefdc96e6c656e3 (diff) | |
| download | rust-37ff6805c9bb2a424fee944ffa435cc075bfb779.tar.gz rust-37ff6805c9bb2a424fee944ffa435cc075bfb779.zip | |
Rollup merge of #138232 - Kobzol:gcc-reduce-verbosity, r=GuillaumeGomez
Reduce verbosity of GCC build log It was a bit too spammy before. Fixes: https://github.com/rust-lang/rust/issues/138213 r? ``@GuillaumeGomez``
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/gcc.rs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/bootstrap/src/core/build_steps/gcc.rs b/src/bootstrap/src/core/build_steps/gcc.rs index e8b6a577cea..70789fbbeeb 100644 --- a/src/bootstrap/src/core/build_steps/gcc.rs +++ b/src/bootstrap/src/core/build_steps/gcc.rs @@ -125,6 +125,7 @@ impl Step for Gcc { t!(stamp.remove()); let _time = helpers::timeit(builder); t!(fs::create_dir_all(&out_dir)); + t!(fs::create_dir_all(&install_dir)); let libgccjit_path = libgccjit_built_path(&install_dir); if builder.config.dry_run() { @@ -185,8 +186,16 @@ impl Step for Gcc { } configure_cmd.run(builder); - command("make").current_dir(&out_dir).arg(format!("-j{}", builder.jobs())).run(builder); - command("make").current_dir(&out_dir).arg("install").run(builder); + command("make") + .current_dir(&out_dir) + .arg("--silent") + .arg(format!("-j{}", builder.jobs())) + .run_capture_stdout(builder); + command("make") + .current_dir(&out_dir) + .arg("--silent") + .arg("install") + .run_capture_stdout(builder); let lib_alias = install_dir.join("lib/libgccjit.so.0"); if !lib_alias.exists() { |
