[Build] libXNNPACK.a
not built when building with vcpkg
and onnxruntime_BUILD_UNIT_TESTS=off
#22789
Labels
libXNNPACK.a
not built when building with vcpkg
and onnxruntime_BUILD_UNIT_TESTS=off
#22789
Describe the issue
When building
onnxruntime==v1.20.0
with the XNNPACK EP usingvcpkg
, thelibXNNPACK.a
doesn't get built. It gets built normally when not usingvcpkg.
build/linux/Release/_deps/googlexnnpack-build/CMakeFiles/XNNPACK.dir
exists, but the built library itself doesn't.Urgency
No response
Target platform
x86 Linux
Build script
./build.sh --config Release --parallel --compile_no_warning_as_error --skip_submodule_sync --update --build --build_dir build/linux --use_xnnpack --use_vcpkg --cmake_extra_defines CMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake onnxruntime_BUILD_UNIT_TESTS=off
Error / output
logs.txt
Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: