Open YZJ0716 opened 1 month ago
CMake Error at CMakeLists.txt:273 (add_subdirectory): The source directory
D:/xxxxxx/executorch/backends/xnnpack/third-party/cpuinfo
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:308 (add_subdirectory): The source directory
D:/xxxxxx/executorch/backends/xnnpack/third-party/pthreadpool
Using python executable 'python3' CMake Warning at build/Utils.cmake:264 (message): Failed to resolve buck2. Call Stack (most recent call first): CMakeLists.txt:331 (resolve_buck2)
CMake Warning at build/Utils.cmake:265 (message): Call Stack (most recent call first): CMakeLists.txt:331 (resolve_buck2)
Killing buck2 daemon executorch: Generating source lists executorch: Generating source file list D:/xxxxxx/executorch_srcs.cmake Error while generating D:/xxxxxx/executorch_srcs.cmake. Exit code: 9009 Output:
Error:
CMake Error at build/Utils.cmake:216 (message): executorch: source list generation failed Call Stack (most recent call first): CMakeLists.txt:340 (extract_sources)
Configuring incomplete, errors occurred!
executorch : 0.4.0 CMake : 3.30.4 System : window 11
Can you try:
bash install_requirements.sh --clean
under executorch/ directory, and then run the android build command
executorch/
Also it is good practice to run
git submodule update --init
🐛 Describe the bug
CMake Error at CMakeLists.txt:273 (add_subdirectory): The source directory
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:308 (add_subdirectory): The source directory
does not contain a CMakeLists.txt file.
Using python executable 'python3' CMake Warning at build/Utils.cmake:264 (message): Failed to resolve buck2. Call Stack (most recent call first): CMakeLists.txt:331 (resolve_buck2)
CMake Warning at build/Utils.cmake:265 (message): Call Stack (most recent call first): CMakeLists.txt:331 (resolve_buck2)
Killing buck2 daemon executorch: Generating source lists executorch: Generating source file list D:/xxxxxx/executorch_srcs.cmake Error while generating D:/xxxxxx/executorch_srcs.cmake. Exit code: 9009 Output:
Error:
CMake Error at build/Utils.cmake:216 (message): executorch: source list generation failed Call Stack (most recent call first): CMakeLists.txt:340 (extract_sources)
Configuring incomplete, errors occurred!
Versions
executorch : 0.4.0 CMake : 3.30.4 System : window 11