test / scripts /build-windows-x86.cmd
Androidonnxfork's picture
Upload folder using huggingface_hub
8b7c501
raw
history blame
389 Bytes
mkdir build\windows
mkdir build\windows\x86
set CMAKE_ARGS=-DXNNPACK_LIBRARY_TYPE=static
set CMAKE_ARGS=%CMAKE_ARGS% -G="Visual Studio 17 2022" -A=Win32
rem Use-specified CMake arguments go last to allow overridding defaults
set CMAKE_ARGS=%CMAKE_ARGS% %*
echo %CMAKE_ARGS%
cd build\windows\x86 && cmake ..\..\.. %CMAKE_ARGS%
cmake --build . -j %NUMBER_OF_PROCESSORS% --config Release