php / php-src

The PHP Interpreter
https://www.php.net
Other
38.29k stars 7.76k forks source link

Fix GH-16839: Error on building Opcache JIT for Windows ARM64 #16841

Closed cmb69 closed 1 week ago

cmb69 commented 1 week ago

OPcache JIT does not support Windows ARM64, so we should not allow --enable-opcache-jit in the first place.

Due to the way ARG_ENABLE() is handled on Windows, we do not attempt to suppress the configure option, but just do not enable JIT when the user attempts to, and adapt the help text.