svn commit: r472713 - in head/lang/qt5-qml: . files
Tobias C. Berner
tcberner at FreeBSD.org
Mon Jun 18 20:07:19 UTC 2018
Author: tcberner
Date: Mon Jun 18 20:07:17 2018
New Revision: 472713
URL: https://svnweb.freebsd.org/changeset/ports/472713
Log:
lang/qt5-qml: enable JIT on aarch64
PR: 229124
Submitted by: mikael.urankar at gmail.com
Added:
head/lang/qt5-qml/files/patch-src_3rdparty_masm_assembler_ARM64Assembler.h (contents, props changed)
head/lang/qt5-qml/files/patch-src_qml_jsruntime_qv4global__p.h (contents, props changed)
Modified:
head/lang/qt5-qml/Makefile
Modified: head/lang/qt5-qml/Makefile
==============================================================================
--- head/lang/qt5-qml/Makefile Mon Jun 18 20:02:04 2018 (r472712)
+++ head/lang/qt5-qml/Makefile Mon Jun 18 20:07:17 2018 (r472713)
@@ -2,6 +2,7 @@
PORTNAME= qml
DISTVERSION= ${QT5_VERSION}
+PORTREVISION= 1
CATEGORIES= lang
PKGNAMEPREFIX= qt5-
Added: head/lang/qt5-qml/files/patch-src_3rdparty_masm_assembler_ARM64Assembler.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/qt5-qml/files/patch-src_3rdparty_masm_assembler_ARM64Assembler.h Mon Jun 18 20:07:17 2018 (r472713)
@@ -0,0 +1,12 @@
+--- src/3rdparty/masm/assembler/ARM64Assembler.h 2018-02-06 19:49:18 UTC
++++ src/3rdparty/masm/assembler/ARM64Assembler.h
+@@ -3032,6 +3032,8 @@
+ linuxPageFlush(current, current + page);
+
+ linuxPageFlush(current, end);
++#elif OS(FREEBSD)
++ __clear_cache(code, reinterpret_cast<char*>(code) + size);
+ #elif OS(QNX)
+ #if !ENABLE(ASSEMBLER_WX_EXCLUSIVE)
+ msync(code, size, MS_INVALIDATE_ICACHE);
+
Added: head/lang/qt5-qml/files/patch-src_qml_jsruntime_qv4global__p.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/qt5-qml/files/patch-src_qml_jsruntime_qv4global__p.h Mon Jun 18 20:07:17 2018 (r472713)
@@ -0,0 +1,11 @@
+--- src/qml/jsruntime/qv4global_p.h 2018-02-06 19:49:18 UTC
++++ src/qml/jsruntime/qv4global_p.h
+@@ -104,7 +104,7 @@ inline double trunc(double d) { return d > 0 ? floor(d
+ # define V4_ENABLE_JIT
+ # endif
+ #elif defined(Q_PROCESSOR_ARM_64) && (QT_POINTER_SIZE == 8)
+-# if defined(Q_OS_LINUX) || defined(Q_OS_QNX)
++# if defined(Q_OS_LINUX) || defined(Q_OS_QNX) || defined(Q_OS_FREEBSD)
+ # define V4_ENABLE_JIT
+ # endif
+ #elif defined(Q_PROCESSOR_MIPS_32) && defined(Q_OS_LINUX)
More information about the svn-ports-head
mailing list