onnxruntime
d3e8d7a7 - Better support for cmake 3.26 and Windows ARM64 (#15704)

Commit
2 years ago
Better support for cmake 3.26 and Windows ARM64 (#15704) ### Description In #8953 I introduced a change in our onnxruntime_mlas.cmake that it enables "ASM_MASM" cmake language for all Windows build. ```cmake enable_language(ASM_MASM) ``` Before the change, it is only enabled when onnxruntime_target_platform equals to x64. However, cmake 3.26 added a new language: ASM_MARMASM. According to cmake's manual, ASM_MASM is for Microsoft Assembler ASM_MARMASM is for Microsoft ARM Assembler. This one is new in cmake 3.26. We should choose the right one according to ${onnxruntime_target_platform}.
Author
Changming Sun
Parents
Loading