Handle MSVC ARM64 cross compilation build#10
Merged
zhaozg merged 3 commits intozhaozg:masterfrom Jun 7, 2025
Merged
Conversation
Currently, MSVC does not have ARM64 native compilers. So, we need to confirm ARM64 Windows(_M_ARM64) target. The current building sequence of ARM64 Windows is: * Specify Host=x64 Target=arm64 for Visual Studio * Launch x64 compiler on Prism emulator * CMake should handle as cross compiling but it'll be handled within MSVC mechanism Thus, we need to handle this condition with the CROSSCOMPILING_MSVC flag. Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
704ca6b to
e0def59
Compare
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
e0def59 to
6c6dff1
Compare
Signed-off-by: Hiroshi Hatake <cosmo0920.oucc@gmail.com>
7 tasks
zhaozg
reviewed
May 30, 2025
Owner
zhaozg
left a comment
There was a problem hiding this comment.
Ok, I leave some comment, would you think about that?
7 tasks
4a9e47d to
ce51e18
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently, MSVC does not have ARM64 native compilers. So, we need to confirm ARM64 Windows(_M_ARM64) target. The current building sequence of ARM64 Windows is:
Thus, we need to handle this condition with the ARM64_MSVC flag.