Skip to content

Commit bf9612c

Browse files
lum1n0usclaude
andcommitted
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 <noreply@anthropic.com>
1 parent fcec30e commit bf9612c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build-scripts/build_llvm.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,11 @@ def main():
270270
action="store_true",
271271
help="use clang instead of gcc",
272272
)
273+
parser.add_argument(
274+
"--use-ccache",
275+
action="store_true",
276+
help="enable ccache for faster incremental LLVM builds (disabled by default to reduce CI storage consumption, recommended for local development)",
277+
)
273278
parser.add_argument(
274279
"--extra-cmake-flags",
275280
type=str,

0 commit comments

Comments
 (0)