Skip to content

Commit f057d2b

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Disable JIT on Apple Silicon + ZTS
2 parents 9a034c9 + 6db9551 commit f057d2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/opcache/config.m4

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ if test "$PHP_OPCACHE" != "no"; then
4242
PHP_OPCACHE_JIT=no
4343
;;
4444
esac
45+
if test "$host_vendor" = "apple" && test "$host_cpu" = "aarch64" && test "$PHP_THREAD_SAFETY" = "yes"; then
46+
AC_MSG_WARN([JIT not supported on Apple Silicon with ZTS])
47+
PHP_OPCACHE_JIT=no
48+
fi
4549
fi
4650

4751
if test "$PHP_OPCACHE_JIT" = "yes"; then

0 commit comments

Comments
 (0)