CMake error on Windows with -use_xnnpack #23174
Labels
build
build issues; typically submitted using template
ep:Xnnpack
issues related to XNNPACK EP
platform:windows
issues related to the Windows platform
Describe the issue
Using Visual Studio 2022
Using build.bat to build xnnpack ep using --use_xnnpack
Gives a CMake error
Am I missing any dependencies?
Urgency
No response
Target platform
Windows
Build script
.\build.bat --config Release --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --use_xnnpack --use_dml
Error / output
Building Custom Rule C:/onnxruntime-v1.20.1/build/Windows/Release/_deps/googlexnnpack-subbuild/CMakeLists.txt
No update step for 'googlexnnpack-populate'
Performing patch step for 'googlexnnpack-populate'
patching file CMakeLists.txt
No configure step for 'googlexnnpack-populate'
No build step for 'googlexnnpack-populate'
No install step for 'googlexnnpack-populate'
No test step for 'googlexnnpack-populate'
Completed 'googlexnnpack-populate'
Building Custom Rule C:/onnxruntime-v1.20.1/build/Windows/Release/_deps/googlexnnpack-subbuild/CMakeLists.txt
-- Building for XNNPACK_TARGET_PROCESSOR: x86_64
-- Generating microkernels.cmake
CMake Error at C:/onnxruntime-v1.20.1/build/Windows/Release/_deps/googlexnnpack-src/CMakeLists.txt:346 (MESSAGE):
Failed to generate "microkernels.cmake".
Visual Studio Version
2022
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: