Re: [INTERNALS-WIN] Ship PHP builds for Windows on arm64?

[email protected] ("Christoph M. Becker") Mon, 2 Sep 2024 13:25:18 +0200
Newsgroups php.internals.win
Message-ID <[email protected]>
On 28.08.2024 at 23:31, JB wrote:

> This subject has a particular song for me. In July, I worked to build
> PHP 8.4.0 for ARM64.
>
> Some libraries have been built correctly and some others needed patches.
>
> I have used an Azure VM on ARM (Ampere Altra Arm-based processor).
> However, this solution is not suitable for the long term due to the high
> cost.
>
> This is the list of actual libraries built on ARM64:
> build_argon2_arm64.zip
> build_curl_arm64.zip
> build_edit_arm64.zip
> build_ffi_arm64.zip
> build_freetype_arm64.zip
> build_glib_arm64.zip
> build_icu4c_arm64.zip
> build_ImageMagick_arm64.zip
> build_imap_arm64.zip
> build_libbzip2_arm64.zip
> build_libiconv_arm64.zip
> build_libintl_arm64.zip
> build_libjpeg_arm64.zip
> build_liblzma_arm64.zip
> build_libmemcached_arm64.zip
> build_libpng_arm64.zip
> build_libsodium_arm64.zip
> build_libssh2_arm64.zip
> build_libwebp_arm64.zip
> build_libxml2_arm64.zip
> build_libxpm_arm64.zip
> build_libxslt_arm64.zip
> build_libzip_arm64.zip
> build_mpir_arm64.zip
> build_nghttp2_arm64.zip
> build_oniguruma_arm64.zip
> build_openssl_arm64.zip
> build_pgsql_arm64.zip
> build_pslib_arm64.zip
> build_qdbm_arm64.zip
> build_sqlite3_arm64.zip
> build_zlib_arm64.zip
> php-8.4.0-dev-devel-vs17-arm64-NEON.zip
> php-8.4.0-dev-vs17-arm64-debug.zip

A rather impressive list!  Consider to send the patches for the
libraries upstream; either directly to the projects, or to winlibs.

> Since I don't have to publish anything because I don't know if somebody
> is interested.

Indeed, I'm not sure either.

> For me, the next step is to buy a computer with an ARM64 processor and
> Windows 11 to install all the tools for building PHP and extensions.
>
> I'm open to discussing this project with you.

Personally, I'm not particularly interest in builds for Windows on
arm64; at least currently, I have no plans to purchase a respective
machine.  I think, though, that such builds would serve PHP and its
communtiy; after all, I know that Python already ships builds for
Windows on arm64, and presume that other languages do this, too.

Christoph