onnxruntime
db4fc123 - Add support for building the code on Windows ARM64 natively (#15371)

Commit
2 years ago
Add support for building the code on Windows ARM64 natively (#15371) ### Description Recently Visual Studio and python started to provide native Windows ARM64 packages. This PR is to provide better support for building on Windows ARM64. You can do it as what you did for x64. Like: ``` python tools\ci_build\build.py --config Debug --update --skip_submodule_sync --build_dir b --cmake_generator "Visual Studio 17 2022" ``` You do not need to append the "--arm64" build arg, and do not need to cross-compile protoc for a different arch as you are not cross-compiling. **caveat:** it does not work with the latest cmake release(3.26.x). It only works fine with cmake 3.25.x and below. Filed a bug to them: https://gitlab.kitware.com/cmake/cmake/-/issues/24797 ### Motivation and Context Provide better support for building on Windows ARM64.
Author
Changming Sun
Parents
Loading