From owner-svn-ports-head@freebsd.org Mon Jun 18 20:07:19 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD671101E96D; Mon, 18 Jun 2018 20:07:18 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81FBE702B2; Mon, 18 Jun 2018 20:07:18 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E5E6D52; Mon, 18 Jun 2018 20:07:18 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5IK7IBp048701; Mon, 18 Jun 2018 20:07:18 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5IK7HPX048699; Mon, 18 Jun 2018 20:07:17 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201806182007.w5IK7HPX048699@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Mon, 18 Jun 2018 20:07:17 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/lang/qt5-qml: . files X-SVN-Commit-Revision: 472713 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2018 20:07:19 -0000 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(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)