From 16fd13501ca1683010cf40aae53dbbc8ee788538 Mon Sep 17 00:00:00 2001 From: lucylq Date: Thu, 10 Apr 2025 14:31:21 -0700 Subject: [PATCH] llama doc update --- examples/models/llama/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/examples/models/llama/README.md b/examples/models/llama/README.md index 39e4c79873b..a842ab05696 100644 --- a/examples/models/llama/README.md +++ b/examples/models/llama/README.md @@ -544,3 +544,22 @@ clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` It's a known issue for Xcode version 15.1. Mitigation: update to most recent Xcode version, clean and rebuild. + +- If you encounter issues with missing abseil-cpp or re2, try running `git submodule update --init --recursive` to pull in those submodules. +Example error: +``` +CMake Error at runner/CMakeLists.txt:68 (add_subdirectory): + The source directory + + /Users/../executorch/extension/llm/tokenizers/third-party/abseil-cpp + + does not contain a CMakeLists.txt file. + + +CMake Error at runner/CMakeLists.txt:72 (add_subdirectory): + The source directory + + /Users/../executorch/extension/llm/tokenizers/third-party/re2 + + does not contain a CMakeLists.txt file. +```