Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@
[submodule "backends/native/third-party/llama.cpp"]
path = backends/native/third-party/llama.cpp
url = https://github.com/ggml-org/llama.cpp.git
shallow = true
3 changes: 2 additions & 1 deletion install_executorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def check_folder(folder: str, file: str) -> bool:
try:
subprocess.check_call(["git", "submodule", "sync", "--recursive"])
subprocess.check_call(
["git", "submodule", "update", "--init", "--recursive"]
["git", "submodule", "update", "--init", "--recursive", "--"]
+ list(missing_submodules)
)
except subprocess.CalledProcessError as e:
logger.error(f"Error updating submodules: {e}")
Expand Down
Loading