- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 32
build(windows): add arm64 build #420
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 comment was marked as resolved.
        
        
      
    
  This comment was marked as resolved.
      
        
              This comment was marked as resolved.
        
        
      
    
  This comment was marked as resolved.
| A Good news for everyone who care this. All Works is Done!!! 
 Today progress 
 See commits for details In addition, I pinned the CMake version of CI to 3.31.2, which can temporarily solve the problem of Windows CI build failure. Thanks to everyone who reads here, have a nice day! | 
| Here is CI artifacts https://github.com/rbqvq/build-deps/actions/runs/14957436940/artifacts/3101752802 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating the PR!
It looks pretty good but I do have a few comments and questions.
      
        
              This comment was marked as resolved.
        
        
      
    
  This comment was marked as resolved.
      
        
              This comment was marked as resolved.
        
        
      
    
  This comment was marked as resolved.
Windows 11 Arm64 runners don't like x86_64 runners have two disk, they're only one disk C:
Replace hardcoded path `/d/a/_temp/` to `${{ runner.temp }}` and use `MSYS2_ROOT` environment variables
Signed-off-by: Coia Prant <[email protected]>
    Add initial clangarm64 support for Windows Arm64 builds Signed-off-by: Coia Prant <[email protected]>
MSYS2 CLANGARM64 is native arm64 binary, can not run on non-arm64 hosts. Signed-off-by: Coia Prant <[email protected]>
Apple should be reported as darwin Win32 should be reported as mingw64 Signed-off-by: Coia Prant <[email protected]>
This is a temporary solution to fix the issue with Windows Arm64 not being recognized correctly in x264 `uname -m` is currently reported as `x86_64` instead of `aarch64` in MSYS2 Link: msys2/msys2-runtime#171 x264 `config.guess` uses `uname -m` to detect architecture Link: https://code.videolan.org/videolan/x264/-/tree/1ecc51ee971e0056a53bd6cf9c6f6af18b167e4b/config.guess#L809 Signed-off-by: Coia Prant <[email protected]>
This is a temporary solution to fix the issue with Windows Arm64 not being recognized correctly in FFmpeg `uname -m` is currently reported as `x86_64` instead of `aarch64` in MSYS2 Link: msys2/msys2-runtime#171 FFmpeg `configure` uses `uname -m` to detect architecture Link: https://github.com/FFmpeg/FFmpeg/blob/4e5523c98597a417eb43555933b1075d18ec5f8b/configure#L4161 Signed-off-by: Coia Prant <[email protected]>
FFmpeg `configure` will disable ffnvcodec on Windows Arm64 Link: https://github.com/FFmpeg/FFmpeg/blob/4e5523c98597a417eb43555933b1075d18ec5f8b/configure#L7443 This problem may be solved in 2026 (NVIDIA and MediaTek release Windows Arm computers) Until FFmpeg fixes this, disable them first Signed-off-by: Coia Prant <[email protected]>
Add CI build for Windows ARM64 target Signed-off-by: Coia Prant <[email protected]>
Add windows arm64 build guide with notes Signed-off-by: Coia Prant <[email protected]>
Some packages are not compatible with the latest MSYS2 version, because it bundles CMake 4.0 Pinned the MSYS2 version and disabled updates back to CMake 3.31.2 until the following issues are resolved Link: #414 Signed-off-by: Coia Prant <[email protected]>
# Conflicts: # .github/workflows/ci.yml
| Thanks | 
Description
Since GitHub add Windows 11 Arm64 runners, we can prepare Sunshine for ARM64
Let's add windows arm64 builds
Screenshot
None
Issues Fixed or Closed
None
Type of Change
.github/...)Checklist
Status
PassedPassedChanges
TL;DR. See commits
Do not need approve workflows, it will failed before known issues resolved
After this ready, we can back to LizardByte/Sunshine#3369