mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2] mesalib: version bump 10.3.3 -> 11.1.1
Date: Mon,  1 Feb 2016 17:01:29 +0100	[thread overview]
Message-ID: <1454342489-31590-1-git-send-email-l.stach@pengutronix.de> (raw)

Update to latest stable versions.

Also switch over to OOT builds, which makes working on the source
much more comfortable as the source tree will not be cluttered
with confilcting objects from the -host and -target builds.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
v2:
- explicitly disable va, nine, glx-read-only-text and sha1
- use global largefile option
---
 rules/host-mesalib.make | 12 ++++++++----
 rules/mesalib.in        |  4 ----
 rules/mesalib.make      | 31 ++++++++++++-------------------
 3 files changed, 20 insertions(+), 27 deletions(-)

diff --git a/rules/host-mesalib.make b/rules/host-mesalib.make
index 721fa677db76..bcc173998fec 100644
--- a/rules/host-mesalib.make
+++ b/rules/host-mesalib.make
@@ -21,9 +21,11 @@ HOST_MESALIB_CONF_ENV := \
 	$(HOST_ENV) \
 	ac_cv_prog_PYTHON2=$(PTXDIST_TOPDIR)/bin/python
 
+HOST_MESALIB_BUILD_OOT	:= YES
 HOST_MESALIB_CONF_TOOL	:= autoconf
 HOST_MESALIB_CONF_OPT	:= \
 	$(HOST_AUTOCONF) \
+	--enable-largefile \
 	--enable-static \
 	--disable-shared \
 	--disable-debug \
@@ -34,7 +36,6 @@ HOST_MESALIB_CONF_OPT	:= \
 	--enable-opengl \
 	--disable-gles1 \
 	--disable-gles2 \
-	--disable-openvg \
 	--disable-dri \
 	--disable-dri3 \
 	--disable-glx \
@@ -43,28 +44,31 @@ HOST_MESALIB_CONF_OPT	:= \
 	--disable-egl \
 	--disable-xa \
 	--disable-gbm \
+	--disable-nine \
 	--disable-xvmc \
 	--disable-vdpau \
+	--disable-va \
 	--disable-omx \
 	--disable-opencl \
 	--disable-opencl-icd \
 	--disable-xlib-glx \
-	--disable-gallium-egl \
-	--disable-gallium-gbm \
 	--disable-r600-llvm-compiler \
 	--disable-gallium-tests \
+	--disable-shader-cache \
 	--disable-shared-glapi \
 	--disable-sysfs \
+	--disable-glx-read-only-text \
 	--disable-driglx-direct \
 	--disable-glx-tls \
 	--disable-llvm-shared-libs \
 	--disable-gallium-llvm \
+	--with-sha1= \
 	--with-gallium-drivers= \
 	--with-dri-drivers=
 
 $(STATEDIR)/host-mesalib.install:
 	@$(call targetinfo)
-	install -D -m755 $(HOST_MESALIB_DIR)/src/glsl/glsl_compiler $(HOST_MESALIB_PKGDIR)/bin/mesa/glsl_compiler
+	install -D -m755 $(HOST_MESALIB_DIR)-build/src/glsl/glsl_compiler $(HOST_MESALIB_PKGDIR)/bin/mesa/glsl_compiler
 	@$(call touch)
 
 # vim: syntax=make
diff --git a/rules/mesalib.in b/rules/mesalib.in
index d7975dbf919d..2acf69d5160d 100644
--- a/rules/mesalib.in
+++ b/rules/mesalib.in
@@ -110,10 +110,6 @@ config MESALIB_GLES2
 	select MESALIB_OPENGL
 	prompt "OpenGL ES2"
 
-config MESALIB_OPENVG
-	bool
-	prompt "OpenVG"
-
 config MESALIB_EGL
 	bool
 	select MESALIB_UDEV
diff --git a/rules/mesalib.make b/rules/mesalib.make
index 1da6ff5584b6..0852da7f2b45 100644
--- a/rules/mesalib.make
+++ b/rules/mesalib.make
@@ -19,11 +19,11 @@ PACKAGES-$(PTXCONF_MESALIB) += mesalib
 #
 # Paths and names
 #
-MESALIB_VERSION	:= 10.3.3
-MESALIB_MD5	:= 4fe6fc9e28fb2a88a2387e5d3a49ae8b
-MESALIB		:= MesaLib-$(MESALIB_VERSION)
-MESALIB_SUFFIX	:= tar.bz2
-MESALIB_URL	:= ftp://ftp.freedesktop.org/pub/mesa/older-versions/10.x/$(subst .0,,$(MESALIB_VERSION))/$(MESALIB).$(MESALIB_SUFFIX)
+MESALIB_VERSION	:= 11.1.1
+MESALIB_MD5	:= 1043dfb907beecb2a761272455960427
+MESALIB		:= mesa-$(MESALIB_VERSION)
+MESALIB_SUFFIX	:= tar.xz
+MESALIB_URL	:= ftp://ftp.freedesktop.org/pub/mesa/$(MESALIB_VERSION)/$(MESALIB).$(MESALIB_SUFFIX)
 MESALIB_SOURCE	:= $(SRCDIR)/$(MESALIB).$(MESALIB_SUFFIX)
 MESALIB_DIR	:= $(BUILDDIR)/Mesa-$(MESALIB_VERSION)
 MESALIB_LICENSE	:= MIT
@@ -65,23 +65,12 @@ MESALIB_DRI_LIBS-y += \
 	$(subst nouveau,nouveau_vieux,$(MESALIB_DRI_DRIVERS-y)) \
 	$(subst freedreno,kgsl,$(MESALIB_GALLIUM_DRIVERS-y))
 
-ifeq ($(MESALIB_GALLIUM_DRIVERS-y),)
-MESALIB_GALLIUM_EGL	:=
-MESALIB_GALLIUM_GBM	:=
-else
-MESALIB_GALLIUM_EGL	:= $(PTXCONF_MESALIB_EGL)
-MESALIB_GALLIUM_GBM	:= $(PTXCONF_MESALIB_GBM)
-endif
-
 MESALIB_LIBS-y				:= libglapi
 MESALIB_LIBS-$(PTXCONF_MESALIB_GLX)	+= libGL
 MESALIB_LIBS-$(PTXCONF_MESALIB_GLES1)	+= libGLESv1_CM
 MESALIB_LIBS-$(PTXCONF_MESALIB_GLES2)	+= libGLESv2
-MESALIB_LIBS-$(PTXCONF_MESALIB_OPENVG)	+= libOpenVG
 MESALIB_LIBS-$(PTXCONF_MESALIB_EGL)	+= libEGL
-MESALIB_LIBS-$(MESALIB_GALLIUM_EGL)	+= egl/egl_gallium
 MESALIB_LIBS-$(PTXCONF_MESALIB_GBM)	+= libgbm
-MESALIB_LIBS-$(MESALIB_GALLIUM_GBM)	+= gbm/gbm_gallium_drm
 
 MESALIBS_EGL_PLATFORMS-$(PTXCONF_MESALIB_EGL_X11)	+= x11
 MESALIBS_EGL_PLATFORMS-$(PTXCONF_MESALIB_EGL_DRM)	+= drm
@@ -89,9 +78,11 @@ MESALIBS_EGL_PLATFORMS-$(PTXCONF_MESALIB_EGL_WAYLAND)	+= wayland
 
 MESALIB_LIBS-$(PTXCONF_MESALIB_EGL_WAYLAND)	+= libwayland-egl
 
+MESALIB_BUILD_OOT	:= YES
 MESALIB_CONF_TOOL	:= autoconf
 MESALIB_CONF_OPT	:= \
 	$(CROSS_AUTOCONF_USR) \
+	--$(call ptx/endis, PTXCONF_GLOBAL_LARGE_FILE)-largefile \
 	--disable-static \
 	--enable-shared \
 	--disable-debug \
@@ -102,7 +93,6 @@ MESALIB_CONF_OPT	:= \
 	--$(call ptx/endis, PTXCONF_MESALIB_OPENGL)-opengl \
 	--$(call ptx/endis, PTXCONF_MESALIB_GLES1)-gles1 \
 	--$(call ptx/endis, PTXCONF_MESALIB_GLES2)-gles2 \
-	--$(call ptx/endis, PTXCONF_MESALIB_OPENVG)-openvg \
 	--enable-dri \
 	--disable-dri3 \
 	--$(call ptx/endis, PTXCONF_MESALIB_GLX)-glx \
@@ -111,22 +101,25 @@ MESALIB_CONF_OPT	:= \
 	--$(call ptx/endis, PTXCONF_MESALIB_EGL)-egl \
 	--disable-xa \
 	--$(call ptx/endis, PTXCONF_MESALIB_GBM)-gbm \
+	--disable-nine \
 	--disable-xvmc \
 	--disable-vdpau \
+	--disable-va \
 	--disable-omx \
 	--disable-opencl \
 	--disable-opencl-icd \
 	--disable-xlib-glx \
-	--$(call ptx/endis, MESALIB_GALLIUM_EGL)-gallium-egl \
-	--$(call ptx/endis, MESALIB_GALLIUM_GBM)-gallium-gbm \
 	--disable-r600-llvm-compiler \
 	--disable-gallium-tests \
+	--disable-shader-cache \
 	--enable-shared-glapi \
 	--disable-sysfs \
+	--disable-glx-read-only-text \
 	--enable-driglx-direct \
 	--enable-glx-tls \
 	--disable-gallium-llvm \
 	--enable-llvm-shared-libs \
+	--with-sha1= \
 	--with-gallium-drivers=$(subst $(space),$(comma),$(MESALIB_GALLIUM_DRIVERS-y)) \
 	--with-dri-driverdir=/usr/lib/dri \
 	--with-dri-drivers=$(subst $(space),$(comma),$(MESALIB_DRI_DRIVERS-y)) \
-- 
2.7.0.rc3


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2016-02-01 16:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1454342489-31590-1-git-send-email-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox