Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148422238
D28042.id81897.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D28042.id81897.diff
View Options
Index: www/php80-opcache/files/patch-config.m4
===================================================================
--- /dev/null
+++ www/php80-opcache/files/patch-config.m4
@@ -0,0 +1,20 @@
+--- config.m4.orig 2020-11-24 17:04:03 UTC
++++ config.m4
+@@ -29,7 +29,7 @@ if test "$PHP_OPCACHE" != "no"; then
+
+ if test "$PHP_OPCACHE_JIT" = "yes"; then
+ case $host_cpu in
+- x86*)
++ x86*|amd64)
+ ;;
+ *)
+ AC_MSG_WARN([JIT not supported by host architecture])
+@@ -60,7 +60,7 @@ if test "$PHP_OPCACHE" != "no"; then
+ *x86_64-*-darwin*)
+ DASM_FLAGS="-D X64APPLE=1 -D X64=1"
+ ;;
+- *x86_64*)
++ *x86_64*|amd64-*-freebsd*)
+ DASM_FLAGS="-D X64=1"
+ ;;
+ esac
Index: www/php80-opcache/files/patch-jit_Makefile.frag
===================================================================
--- /dev/null
+++ www/php80-opcache/files/patch-jit_Makefile.frag
@@ -0,0 +1,11 @@
+--- jit/Makefile.frag.orig 2020-11-24 17:04:03 UTC
++++ jit/Makefile.frag
+@@ -5,7 +5,7 @@ $(builddir)/minilua: $(srcdir)/jit/dynasm/minilua.c
+ $(builddir)/jit/zend_jit_x86.c: $(srcdir)/jit/zend_jit_x86.dasc $(srcdir)/jit/dynasm/*.lua $(builddir)/minilua
+ $(builddir)/minilua $(srcdir)/jit/dynasm/dynasm.lua $(DASM_FLAGS) -o $@ $(srcdir)/jit/zend_jit_x86.dasc
+
+-$(builddir)/jit/zend_jit.lo: \
++jit/zend_jit.lo: \
+ $(builddir)/jit/zend_jit_x86.c \
+ $(srcdir)/jit/zend_jit_helpers.c \
+ $(srcdir)/jit/zend_jit_disasm_x86.c \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 6:27 PM (3 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29920057
Default Alt Text
D28042.id81897.diff (1 KB)
Attached To
Mode
D28042: Add JIT support to the PHP8 build
Attached
Detach File
Event Timeline
Log In to Comment