Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake error on Windows with -use_xnnpack #23174

Open
mram0509 opened this issue Dec 20, 2024 · 0 comments
Open

CMake error on Windows with -use_xnnpack #23174

mram0509 opened this issue Dec 20, 2024 · 0 comments
Labels
build build issues; typically submitted using template ep:Xnnpack issues related to XNNPACK EP platform:windows issues related to the Windows platform

Comments

@mram0509
Copy link

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

@mram0509 mram0509 added the build build issues; typically submitted using template label Dec 20, 2024
@github-actions github-actions bot added platform:windows issues related to the Windows platform ep:Xnnpack issues related to XNNPACK EP labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template ep:Xnnpack issues related to XNNPACK EP platform:windows issues related to the Windows platform
Projects
None yet
Development

No branches or pull requests

1 participant