File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ jobs:
170
170
- name : ./configure
171
171
uses : ./.github/actions/configure-macos
172
172
with :
173
- configurationParameters : --enable-debug --disable -zts
173
+ configurationParameters : --enable-debug --enable -zts
174
174
- name : make
175
175
run : |-
176
176
export PATH="$(brew --prefix)/opt/bison/bin:$PATH"
Original file line number Diff line number Diff line change @@ -42,6 +42,20 @@ if test "$PHP_OPCACHE" != "no"; then
42
42
PHP_OPCACHE_JIT=no
43
43
;;
44
44
esac
45
+ AC_MSG_WARN ( [ Host: $host_vendor] )
46
+ AC_MSG_WARN ( [ CPU: $host_cpu] )
47
+ AC_MSG_WARN ( [ ZTS: $ZEND_ZTS] )
48
+ case "$host_vendor" in
49
+ apple*)
50
+ case "$host_cpu" in
51
+ arm*)
52
+ if test "$ZEND_ZTS" = "yes"; then
53
+ AC_MSG_WARN ( [ JIT not supported on Apple Silicon with ZTS] )
54
+ PHP_OPCACHE_JIT=no
55
+ fi
56
+ esac
57
+ esac
58
+ AC_MSG_ERROR ( [ Done] )
45
59
fi
46
60
47
61
if test "$PHP_OPCACHE_JIT" = "yes" ; then
You can’t perform that action at this time.
0 commit comments