From 86a0ff442ab06f17abc0f03e8f1a90f5626b7e61 Mon Sep 17 00:00:00 2001 From: Marko Vejnovic Date: Wed, 5 Nov 2025 16:26:48 -0800 Subject: [PATCH] build(ENG-21464): Remove sccache --show-stats on local builds (#24421) Co-authored-by: Meghan Denny --- scripts/build.mjs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index 945e9301e1..1cf702e3c4 100755 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -101,9 +101,11 @@ async function build(args) { await startGroup("CMake Build", () => spawn("cmake", buildArgs, { env })); - await startGroup("sccache stats", () => { - spawn("sccache", ["--show-stats"], { env }); - }); + if (isCI) { + await startGroup("sccache stats", () => { + spawn("sccache", ["--show-stats"], { env }); + }); + } printDuration("total", Date.now() - startTime); }