Date: Mon, 18 Jun 2018 20:07:17 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472713 - in head/lang/qt5-qml: . files Message-ID: <201806182007.w5IK7HPX048699@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806182007.w5IK7HPX048699>