Open RiadhKHEDHIRI opened 2 weeks ago
There are a couple of issues regarding arm64 builds for Windows:
And the biggest issue would be that if none of developers have an arm64 on Windows machine, we couldn't do any development there (at best some blind fixes).
Anyhow, I agree that we should ship arm64 builds for Windows as soon as possible, even if these would be only minimal builds, and highly experimental. Since I've managed to do a minimal arm64 cross-compilation, I'll see whether this can be done on a Github windows-2022 runner as well. That would be a start.
Would you be able to test these builds?
Et voilà, we have minimal arm64 builds for Windows: https://github.com/cmb69/php-ftw/actions/runs/10597236705.
Test reports are welcome.
PS: for now, only the date, hash, json, pcre, random, reflection, spl and standard extensions are available.
PPS: this is PHP 8.4.0beta4
And here are PHP 8.4.0beta4 builds with more extensions and SAPIs (see https://github.com/cmb69/php-ftw/actions/runs/10597760618/job/29368660966#step:6:296 ff for details): https://github.com/cmb69/php-ftw/actions/runs/10597760618
I guess that is as good as it goes (maybe OPcache could be added), until the dependency libraries built for arm64 are available.
Maybe good news (from https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/):
We expect to begin offering Arm runners for open source projects by the end of the year.
And another build (this time with OPcache, but without JIT): https://github.com/cmb69/php-ftw/actions/runs/10613146327
I started threads on the internal mailing lists a while ago (https://news-web.php.net/php.internals/125344 and https://news-web.php.net/php.internals.win/1285), but decision has been made. So I think this requires the RFC process. Anyone who is interesting in having PHP for Windows on ARM64 is welcome to pursue it.
Description
Please. Windows on ARM-based is gaining traction as Microsoft is going all-in.