-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Add initial support for Windows on ARM platforms #417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit adds a secondary method of checking the given libevent version, in the event of an MSVC ARM64 compilation.
The full fix for this issue will require something of a refactor, which is out of scope for this initial ARM64 porting effort, only appears when using VS2022 17.2 or higher
This commit adds initial support for building for an ARM64 target on windows, using the MSVC compiler.
This commit defines a minimum version of MSVC required for ARM64 builds, due to an internal compiler error in older versions.
This commit adds a warning/error for ARM64 platforms in the event that clang is chosen as the compiler.
Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment: |
I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it. |
Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow |
Tried to compile 8.0.41, but I couldn't start (stuck at InnoDB generate done). Now, I run your script and:
|
This pull request adds initial support for Windows on ARM platforms, using MSVC (only MSVC, no clang support currently).
For this initial effort, due to the fact that programs are run at build time (generators, etc), it can only be compiled on an ARM64 host, there is no cross-compiling available.
This was tested against Windows SDK version 22000, running on Windows 11. Some tests appear to be intermittent.
To compile, the latest preview of Visual Studio 2022 17.3 must be used, at time of submission this is Preview 4.
For bison, as the original project has a Windows version way way out of date, and not compatible with ARM64, the following was used: https://github.com/lexxmark/winflexbison
CMake has native ARM64 builds, which are required to build this, as part of their latest release candidates.
More info can be found here: https://linaro.atlassian.net/wiki/spaces/WOAR/pages/28708241465/MySQL