docs: add note about --use-ccache flag in product-mini README

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
liang.he@intel.com 2026-03-20 11:34:28 +08:00
parent 89f34f12c7
commit 299e926f0c

View File

@ -79,6 +79,12 @@ cd product-mini/platforms/linux/
./build_llvm.sh (The llvm source code is cloned under <wamr_root_dir>/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 <wamr_root_dir>/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