From owner-svn-ports-head@freebsd.org Tue Apr 10 00:13:44 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 E5E6CF8A8BF; Tue, 10 Apr 2018 00:13:43 +0000 (UTC) (envelope-from jbeich@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 90A31705D7; Tue, 10 Apr 2018 00:13:43 +0000 (UTC) (envelope-from jbeich@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 89DCB25E1E; Tue, 10 Apr 2018 00:13:43 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3A0DhAk063083; Tue, 10 Apr 2018 00:13:43 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3A0DhSL063080; Tue, 10 Apr 2018 00:13:43 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201804100013.w3A0DhSL063080@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 10 Apr 2018 00:13:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466922 - in head/multimedia/libvpx: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/multimedia/libvpx: . files X-SVN-Commit-Revision: 466922 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.25 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: Tue, 10 Apr 2018 00:13:44 -0000 Author: jbeich Date: Tue Apr 10 00:13:43 2018 New Revision: 466922 URL: https://svnweb.freebsd.org/changeset/ports/466922 Log: multimedia/libvpx: enable NEON on armv6 with more CPUTYPE values PR: 224107 Submitted by: Mikaƫl Urankar Modified: head/multimedia/libvpx/Makefile (contents, props changed) head/multimedia/libvpx/files/patch-build_make_configure.sh (contents, props changed) head/multimedia/libvpx/files/patch-configure (contents, props changed) Modified: head/multimedia/libvpx/Makefile ============================================================================== --- head/multimedia/libvpx/Makefile Tue Apr 10 00:13:23 2018 (r466921) +++ head/multimedia/libvpx/Makefile Tue Apr 10 00:13:43 2018 (r466922) @@ -35,11 +35,6 @@ ASFLAGS+= ${ASFLAGS_${MACHINE}} ASFLAGS_arm= -meabi=5 ALL_TARGET= # empty -# armv7 is actually armv6 target before FreeBSD 12.0 -.if ${CFLAGS:M-march=armv7*} -CONFIGURE_ARGS+= --target=armv7-linux-gcc -.endif - OPTIONS_DEFINE= DEBUG MULTIRES POSTPROC RTCPU SHARED SIZE_LIMIT TEST THREADS OPTIONS_DEFAULT=MULTIRES POSTPROC RTCPU SHARED SIZE_LIMIT THREADS OPTIONS_EXCLUDE_aarch64=RTCPU Modified: head/multimedia/libvpx/files/patch-build_make_configure.sh ============================================================================== --- head/multimedia/libvpx/files/patch-build_make_configure.sh Tue Apr 10 00:13:23 2018 (r466921) +++ head/multimedia/libvpx/files/patch-build_make_configure.sh Tue Apr 10 00:13:43 2018 (r466922) @@ -1,7 +1,23 @@ +- Add armv6 targets where NEON depends on CFLAGS - Recognize DragonFly as x86_64-linux-gcc target by default --- build/make/configure.sh.orig 2018-01-24 22:25:44 UTC +++ build/make/configure.sh +@@ -696,6 +696,14 @@ process_common_toolchain() { + aarch64*) + tgt_isa=arm64 + ;; ++ armv6*-gnueabihf) ++ tgt_isa=armv6 ++ float_abi=hard ++ ;; ++ armv6*-gnueabi) ++ tgt_isa=armv6 ++ float_abi=softfp ++ ;; + armv7*-hardfloat* | armv7*-gnueabihf | arm-*-gnueabihf) + tgt_isa=armv7 + float_abi=hard @@ -767,7 +767,7 @@ process_common_toolchain() { [ -z "$tgt_isa" ] && tgt_isa=x86 tgt_os=win32 Modified: head/multimedia/libvpx/files/patch-configure ============================================================================== --- head/multimedia/libvpx/files/patch-configure Tue Apr 10 00:13:23 2018 (r466921) +++ head/multimedia/libvpx/files/patch-configure Tue Apr 10 00:13:43 2018 (r466922) @@ -3,6 +3,14 @@ --- configure.orig 2018-01-24 22:25:44 UTC +++ configure +@@ -101,6 +101,7 @@ EOF + all_platforms="${all_platforms} arm64-android-gcc" + all_platforms="${all_platforms} arm64-darwin-gcc" + all_platforms="${all_platforms} arm64-linux-gcc" ++all_platforms="${all_platforms} armv6-linux-gcc" + all_platforms="${all_platforms} armv7-android-gcc" #neon Cortex-A8 + all_platforms="${all_platforms} armv7-darwin-gcc" #neon Cortex-A8 + all_platforms="${all_platforms} armv7-linux-rvct" #neon Cortex-A8 @@ -116,6 +117,7 @@ all_platforms="${all_platforms} mips32-linux-gcc" all_platforms="${all_platforms} mips64-linux-gcc" all_platforms="${all_platforms} ppc64-linux-gcc"