From 299e926f0c935bb0f798ce7cbe5ebfe4089acc44 Mon Sep 17 00:00:00 2001 From: "liang.he@intel.com" Date: Fri, 20 Mar 2026 11:34:28 +0800 Subject: [PATCH] docs: add note about --use-ccache flag in product-mini README Co-Authored-By: Claude Sonnet 4.5 --- product-mini/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/product-mini/README.md b/product-mini/README.md index 65be5ce04..65c3dd00d 100644 --- a/product-mini/README.md +++ b/product-mini/README.md @@ -79,6 +79,12 @@ cd product-mini/platforms/linux/ ./build_llvm.sh (The llvm source code is cloned under /core/deps/llvm and auto built) ``` +Note: By default, ccache is disabled to reduce CI storage consumption. For local development with frequent LLVM rebuilds, you can enable ccache for faster incremental builds by using the `--use-ccache` flag: +``` Bash +cd /build-scripts +python3 build_llvm.py --arch X86 --use-ccache +``` + Then pass argument `-DWAMR_BUILD_JIT=1` to cmake to enable LLVM JIT: ``` Bash mkdir build && cd build