Skip to content

Commit 299e926

Browse files
lum1n0usclaude
andcommitted
docs: add note about --use-ccache flag in product-mini README
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 89f34f1 commit 299e926

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

product-mini/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ cd product-mini/platforms/linux/
7979
./build_llvm.sh (The llvm source code is cloned under <wamr_root_dir>/core/deps/llvm and auto built)
8080
```
8181

82+
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:
83+
``` Bash
84+
cd <wamr_root_dir>/build-scripts
85+
python3 build_llvm.py --arch X86 --use-ccache
86+
```
87+
8288
Then pass argument `-DWAMR_BUILD_JIT=1` to cmake to enable LLVM JIT:
8389
``` Bash
8490
mkdir build && cd build

0 commit comments

Comments
 (0)