Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2017 05:09:54 +0000 (UTC)
From:      Matthew Rezny <rezny@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442741 - in head/graphics/mesa-dri: . files
Message-ID:  <201706060509.v5659s94006152@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rezny
Date: Tue Jun  6 05:09:54 2017
New Revision: 442741
URL: https://svnweb.freebsd.org/changeset/ports/442741

Log:
  Update the Mesa ports to 17.1.1
  
  - fix build on aarch64 by limiting the vc4 neon patch to armv6 [1]
  
  PR:		219441 [1]
  Submitted by:	strejda [1]
  Reported by:	jbeich [1]
  Reviewed by:	kwm
  Approved by:	swills (mentor)
  Differential Revision:	https://reviews.freebsd.org/D11066

Added:
  head/graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in
     - copied unchanged from r442740, head/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_Makefile.in
Deleted:
  head/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_Makefile.in
Modified:
  head/graphics/mesa-dri/Makefile
  head/graphics/mesa-dri/Makefile.common
  head/graphics/mesa-dri/distinfo

Modified: head/graphics/mesa-dri/Makefile
==============================================================================
--- head/graphics/mesa-dri/Makefile	Tue Jun  6 05:00:56 2017	(r442740)
+++ head/graphics/mesa-dri/Makefile	Tue Jun  6 05:09:54 2017	(r442741)
@@ -53,6 +53,10 @@ GALLIUM_DRIVERS+=	SVGA
 GALLIUM_DRIVERS+=	FREEDRENO VC4
 .endif
 
+.if ${ARCH} == armv6
+EXTRA_PATCHES+=	${PATCHDIR}/extra-src_gallium_drivers_vc4_Makefile.in
+.endif
+
 CONFIGURE_ARGS+=	--with-dri-drivers="${DRI_DRIVERS:tl}" \
 			--with-gallium-drivers="${GALLIUM_DRIVERS:tl}"
 

Modified: head/graphics/mesa-dri/Makefile.common
==============================================================================
--- head/graphics/mesa-dri/Makefile.common	Tue Jun  6 05:00:56 2017	(r442740)
+++ head/graphics/mesa-dri/Makefile.common	Tue Jun  6 05:09:54 2017	(r442741)
@@ -14,7 +14,7 @@
 MESAVERSION=	${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/}
 MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/}
 
-MESABASEVERSION=	17.1.0
+MESABASEVERSION=	17.1.1
 # if there is a subversion, don't include the '-' between 7.11-rc2.
 MESASUBVERSION=
 

Modified: head/graphics/mesa-dri/distinfo
==============================================================================
--- head/graphics/mesa-dri/distinfo	Tue Jun  6 05:00:56 2017	(r442740)
+++ head/graphics/mesa-dri/distinfo	Tue Jun  6 05:09:54 2017	(r442741)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1494841816
-SHA256 (mesa-17.1.0.tar.xz) = cf234a6ed4764673886b6661553b54675776ef0898f774716173cec890ac3b17
-SIZE (mesa-17.1.0.tar.xz) = 9849580
+TIMESTAMP = 1495896958
+SHA256 (mesa-17.1.1.tar.xz) = aed503f94c0c1630a162a3e276f4ee12a86764cee4cb92338ea2dea99a04e7ef
+SIZE (mesa-17.1.1.tar.xz) = 9854480

Copied: head/graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in (from r442740, head/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_Makefile.in)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in	Tue Jun  6 05:09:54 2017	(r442741, copy of r442740, head/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_Makefile.in)
@@ -0,0 +1,13 @@
+# enable NEON instructions in the compiler when building the NEON codepath
+#
+--- src/gallium/drivers/vc4/Makefile.in.orig	2017-05-16 13:55:49 UTC
++++ src/gallium/drivers/vc4/Makefile.in
+@@ -669,7 +669,7 @@ libvc4_la_SOURCES = $(C_SOURCES)
+ libvc4_la_LIBADD = $(SIM_LIB) $(VC4_LIBS) libvc4_neon.la
+ libvc4_la_LDFLAGS = $(SIM_LDFLAGS)
+ libvc4_neon_la_SOURCES = vc4_tiling_lt.c
+-libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -DVC4_BUILD_NEON
++libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -DVC4_BUILD_NEON -march=armv7-a -mfpu=neon
+ EXTRA_DIST = kernel/README
+ all: all-am
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706060509.v5659s94006152>