official-stockfish / Stockfish

A free and strong UCI chess engine
https://stockfishchess.org/
GNU General Public License v3.0
11.53k stars 2.27k forks source link

[TODO] Provide Windows on ARM binaries #5640

Open gcp opened 1 week ago

gcp commented 1 week ago

Describe the issue

https://github.com/official-stockfish/Stockfish/issues/4241

Right now there are a lot of builds on release, but no Windows on ARM binaries. It would be nice to have these both for the new Windows laptops and people using ChessBase on Macs. The compile issues should've been resolved in the above bug.

Expected behavior

Binaries for Windows ARM available.

Steps to reproduce

Go to download page.

Anything else?

No response

Operating system

Windows

Stockfish version

Trunk

gcp commented 1 week ago

No changes seem to be needed to the source any more, so this compiles directly with mingw/clang64arm: https://sjeng.org/dl/stockfish17_arm8dotprod_win.zip

Disservin commented 1 week ago

Currently not possible because GitHub windows arm runners are not freely available last I checked and the intel sde doesn't emulate arm.

gcp commented 1 week ago

Ah, so crosscompiling would be possible but not a PGO build (or tests)?

Disservin commented 1 week ago

Exactly and for us to be confident in releasing a new binary I think we should at least have the possibility to run tests.

Disservin commented 1 week ago

Github supports them now, but they are only available on their paid tier. https://github.blog/changelog/2024-09-03-github-actions-arm64-linux-and-windows-runners-are-now-generally-available/ will probably take some more time for free runners to appear.