From bf9612c1e6532d69d49163443c37355cd2f77fb3 Mon Sep 17 00:00:00 2001 From: "liang.he@intel.com" Date: Fri, 20 Mar 2026 11:16:30 +0800 Subject: [PATCH] feat: add --use-ccache CLI argument to build_llvm.py Add a new --use-ccache flag that will allow developers to opt-in to using ccache for LLVM builds. This is part of a larger effort to disable ccache by default to reduce CI storage consumption while still allowing local developers to benefit from faster incremental builds. Co-Authored-By: Claude Sonnet 4.5 --- build-scripts/build_llvm.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build-scripts/build_llvm.py b/build-scripts/build_llvm.py index 68ef640e3..0dec48d78 100755 --- a/build-scripts/build_llvm.py +++ b/build-scripts/build_llvm.py @@ -270,6 +270,11 @@ def main(): action="store_true", help="use clang instead of gcc", ) + parser.add_argument( + "--use-ccache", + action="store_true", + help="enable ccache for faster incremental LLVM builds (disabled by default to reduce CI storage consumption, recommended for local development)", + ) parser.add_argument( "--extra-cmake-flags", type=str,