Skip to content

Commit 9f1b43f

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Disable JIT on Apple Silicon + ZTS
2 parents 76b7c5c + f057d2b commit 9f1b43f

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)