Repository navigation
Commit dc18dcc
committed
Install: stop pulling every submodule when a required one is missing
check_and_update_submodules() ran a bare `git submodule update --init
--recursive` whenever a required submodule was absent, which fetched all
~24 submodules including llama.cpp and mlx, even though the default build
uses neither. Update only the missing required paths instead.
flatcc is built unconditionally by third-party/CMakeLists.txt but was only
ever fetched as a side effect of the bulk update, so add it to
REQUIRED_SUBMODULES. Mark llama.cpp shallow like mlx to trim its clone.
This PR was authored with the assistance of Claude Code.1 parent 459d534 commit dc18dcc
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
148 | | - | |
| 149 | + | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
| |||
0 commit comments