mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
mesa: Update 18.0.2 -> 18.1.1
This includes all bugfixes of 18.0.x series and major new features. For list of changes check: https://www.mesa3d.org/relnotes/18.1.0.html https://www.mesa3d.org/relnotes/18.1.1.html (From OE-Core rev: 8803a6e31a4b64eb9d3c146567375c98972074df) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
559f4951e2
commit
b77d478b3d
+11
-7
@@ -1,8 +1,9 @@
|
|||||||
From 342311dbb190735b7b32ab20f81c1d8dbcfe717a Mon Sep 17 00:00:00 2001
|
From 327c3dcbfa005f5d1b2fcda07ca1198d65bd23c5 Mon Sep 17 00:00:00 2001
|
||||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||||
Date: Wed, 11 Oct 2017 15:40:42 +0800
|
Date: Wed, 11 Oct 2017 15:40:42 +0800
|
||||||
Subject: [PATCH] Makefile.vulkan.am: explictly add lib expat to intel
|
Subject: [PATCH 1/7] Makefile.vulkan.am: explictly add lib expat to intel
|
||||||
libvulkan's lib depends
|
libvulkan's lib depends
|
||||||
|
Organization: O.S. Systems Software LTDA.
|
||||||
|
|
||||||
While built with "-fvisibility=default"
|
While built with "-fvisibility=default"
|
||||||
...
|
...
|
||||||
@@ -28,11 +29,11 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|||||||
src/intel/Makefile.vulkan.am | 1 +
|
src/intel/Makefile.vulkan.am | 1 +
|
||||||
1 file changed, 1 insertion(+)
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
Index: mesa-17.3.6/src/intel/Makefile.vulkan.am
|
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
|
||||||
===================================================================
|
index 4125cb205a..356c4f8452 100644
|
||||||
--- mesa-17.3.6.orig/src/intel/Makefile.vulkan.am
|
--- a/src/intel/Makefile.vulkan.am
|
||||||
+++ mesa-17.3.6/src/intel/Makefile.vulkan.am
|
+++ b/src/intel/Makefile.vulkan.am
|
||||||
@@ -144,6 +144,7 @@ VULKAN_LIB_DEPS = \
|
@@ -161,6 +161,7 @@ VULKAN_LIB_DEPS = \
|
||||||
$(LIBDRM_LIBS) \
|
$(LIBDRM_LIBS) \
|
||||||
$(PTHREAD_LIBS) \
|
$(PTHREAD_LIBS) \
|
||||||
$(DLOPEN_LIBS) \
|
$(DLOPEN_LIBS) \
|
||||||
@@ -40,3 +41,6 @@ Index: mesa-17.3.6/src/intel/Makefile.vulkan.am
|
|||||||
-lm
|
-lm
|
||||||
|
|
||||||
if HAVE_PLATFORM_ANDROID
|
if HAVE_PLATFORM_ANDROID
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
From c908f0c13ac81a3a52140f129a13b2bc997ff4ee Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
||||||
Date: Tue, 15 Nov 2016 15:20:49 +0200
|
|
||||||
Subject: [PATCH] Simplify wayland-scanner lookup
|
|
||||||
|
|
||||||
Don't use pkg-config to lookup the path of a binary that's in the path.
|
|
||||||
|
|
||||||
Alternatively we'd have to prefix the path returned by pkg-config with
|
|
||||||
PKG_CONFIG_SYSROOT_DIR.
|
|
||||||
|
|
||||||
Upstream-Status: Pending
|
|
||||||
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
||||||
---
|
|
||||||
configure.ac | 7 +------
|
|
||||||
1 file changed, 1 insertion(+), 6 deletions(-)
|
|
||||||
|
|
||||||
Index: mesa-17.3.6/configure.ac
|
|
||||||
===================================================================
|
|
||||||
--- mesa-17.3.6.orig/configure.ac
|
|
||||||
+++ mesa-17.3.6/configure.ac
|
|
||||||
@@ -1694,12 +1694,7 @@ if test "x$with_platforms" = xauto; then
|
|
||||||
with_platforms=$with_egl_platforms
|
|
||||||
fi
|
|
||||||
|
|
||||||
-PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner],
|
|
||||||
- WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`,
|
|
||||||
- WAYLAND_SCANNER='')
|
|
||||||
-if test "x$WAYLAND_SCANNER" = x; then
|
|
||||||
- AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:])
|
|
||||||
-fi
|
|
||||||
+AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner])
|
|
||||||
|
|
||||||
PKG_CHECK_EXISTS([wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED], [have_wayland_protocols=yes], [have_wayland_protocols=no])
|
|
||||||
if test "x$have_wayland_protocols" = xyes; then
|
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
From 135f6ae990df9abe3765ed339f76c55026c86fe5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||||
|
Date: Tue, 15 Nov 2016 15:20:49 +0200
|
||||||
|
Subject: [PATCH 2/7] Simplify wayland-scanner lookup
|
||||||
|
Organization: O.S. Systems Software LTDA.
|
||||||
|
|
||||||
|
Don't use pkg-config to lookup the path of a binary that's in the path.
|
||||||
|
|
||||||
|
Alternatively we'd have to prefix the path returned by pkg-config with
|
||||||
|
PKG_CONFIG_SYSROOT_DIR.
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||||
|
---
|
||||||
|
configure.ac | 7 +------
|
||||||
|
1 file changed, 1 insertion(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index f1fbdcc6c7..7c95598afc 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -1796,12 +1796,7 @@ for plat in $platforms; do
|
||||||
|
PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED])
|
||||||
|
WAYLAND_PROTOCOLS_DATADIR=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`
|
||||||
|
|
||||||
|
- PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner],
|
||||||
|
- WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`,
|
||||||
|
- WAYLAND_SCANNER='')
|
||||||
|
- if test "x$WAYLAND_SCANNER" = x; then
|
||||||
|
- AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:])
|
||||||
|
- fi
|
||||||
|
+ AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:])
|
||||||
|
|
||||||
|
if test "x$WAYLAND_SCANNER" = "x:"; then
|
||||||
|
AC_MSG_ERROR([wayland-scanner is needed to compile the wayland platform])
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
||||||
+5
-7
@@ -1,7 +1,8 @@
|
|||||||
From d8750776404b1031d762966d0f551d13d2fe05a7 Mon Sep 17 00:00:00 2001
|
From edb22b2f4df8dab39559ace867c3c67bc12851ae Mon Sep 17 00:00:00 2001
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
Date: Wed, 16 Aug 2017 18:58:20 -0700
|
Date: Wed, 16 Aug 2017 18:58:20 -0700
|
||||||
Subject: [PATCH] winsys/svga/drm: Include sys/types.h
|
Subject: [PATCH 3/7] winsys/svga/drm: Include sys/types.h
|
||||||
|
Organization: O.S. Systems Software LTDA.
|
||||||
|
|
||||||
vmw_screen.h uses dev_t which is defines in sys/types.h
|
vmw_screen.h uses dev_t which is defines in sys/types.h
|
||||||
this header is required to be included for getting dev_t
|
this header is required to be included for getting dev_t
|
||||||
@@ -11,14 +12,11 @@ system headers
|
|||||||
|
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
---
|
---
|
||||||
|
|
||||||
Upstream-Status: Submitted
|
|
||||||
|
|
||||||
src/gallium/winsys/svga/drm/vmw_screen.h | 1 +
|
src/gallium/winsys/svga/drm/vmw_screen.h | 1 +
|
||||||
1 file changed, 1 insertion(+)
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h b/src/gallium/winsys/svga/drm/vmw_screen.h
|
diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h b/src/gallium/winsys/svga/drm/vmw_screen.h
|
||||||
index 0ef8e84..2eda97e 100644
|
index f21cabb51f..4c972fdaa9 100644
|
||||||
--- a/src/gallium/winsys/svga/drm/vmw_screen.h
|
--- a/src/gallium/winsys/svga/drm/vmw_screen.h
|
||||||
+++ b/src/gallium/winsys/svga/drm/vmw_screen.h
|
+++ b/src/gallium/winsys/svga/drm/vmw_screen.h
|
||||||
@@ -41,6 +41,7 @@
|
@@ -41,6 +41,7 @@
|
||||||
@@ -30,5 +28,5 @@ index 0ef8e84..2eda97e 100644
|
|||||||
#define VMW_GMR_POOL_SIZE (16*1024*1024)
|
#define VMW_GMR_POOL_SIZE (16*1024*1024)
|
||||||
#define VMW_QUERY_POOL_SIZE (8192)
|
#define VMW_QUERY_POOL_SIZE (8192)
|
||||||
--
|
--
|
||||||
2.14.1
|
2.17.1
|
||||||
|
|
||||||
+8
-7
@@ -1,7 +1,8 @@
|
|||||||
From 00bcd599310dc7fce4fe336ffd85902429051a0c Mon Sep 17 00:00:00 2001
|
From 52468545daa0c2d205312e06304d8fb374e0bbf0 Mon Sep 17 00:00:00 2001
|
||||||
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
||||||
Date: Sun, 20 Mar 2016 13:27:04 +0100
|
Date: Sun, 20 Mar 2016 13:27:04 +0100
|
||||||
Subject: [PATCH 2/4] hardware gloat
|
Subject: [PATCH 4/7] hardware gloat
|
||||||
|
Organization: O.S. Systems Software LTDA.
|
||||||
|
|
||||||
Upstream-Status: Inappropriate [not author]
|
Upstream-Status: Inappropriate [not author]
|
||||||
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
||||||
@@ -11,10 +12,10 @@ Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
|||||||
2 files changed, 14 insertions(+)
|
2 files changed, 14 insertions(+)
|
||||||
|
|
||||||
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
|
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
|
||||||
index 4f61de8..3b0ec77 100644
|
index 3f5d0327bf..86808e016b 100644
|
||||||
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
|
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
|
||||||
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
|
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
|
||||||
@@ -411,6 +411,13 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
|
@@ -449,6 +449,13 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
|
||||||
if (!format_desc)
|
if (!format_desc)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
@@ -29,10 +30,10 @@ index 4f61de8..3b0ec77 100644
|
|||||||
target == PIPE_TEXTURE_1D ||
|
target == PIPE_TEXTURE_1D ||
|
||||||
target == PIPE_TEXTURE_1D_ARRAY ||
|
target == PIPE_TEXTURE_1D_ARRAY ||
|
||||||
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
|
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
|
||||||
index 031602b..c279120 100644
|
index 25f6f74f36..61629ef2ff 100644
|
||||||
--- a/src/gallium/drivers/softpipe/sp_screen.c
|
--- a/src/gallium/drivers/softpipe/sp_screen.c
|
||||||
+++ b/src/gallium/drivers/softpipe/sp_screen.c
|
+++ b/src/gallium/drivers/softpipe/sp_screen.c
|
||||||
@@ -358,6 +358,13 @@ softpipe_is_format_supported( struct pipe_screen *screen,
|
@@ -397,6 +397,13 @@ softpipe_is_format_supported( struct pipe_screen *screen,
|
||||||
if (!format_desc)
|
if (!format_desc)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
@@ -47,5 +48,5 @@ index 031602b..c279120 100644
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
--
|
--
|
||||||
2.7.4
|
2.17.1
|
||||||
|
|
||||||
+8
-5
@@ -1,5 +1,8 @@
|
|||||||
|
From 33025fb1650768a0b923f3c824c270628eef83db Mon Sep 17 00:00:00 2001
|
||||||
From: Otavio Salvador <otavio@ossystems.com.br>
|
From: Otavio Salvador <otavio@ossystems.com.br>
|
||||||
Subject: [PATCH] Properly get LLVM version when using LLVM Git releases
|
Date: Tue, 5 Jun 2018 11:11:10 -0300
|
||||||
|
Subject: [PATCH 5/7] Properly get LLVM version when using LLVM Git releases
|
||||||
|
Organization: O.S. Systems Software LTDA.
|
||||||
|
|
||||||
$ llvm-config-host --version
|
$ llvm-config-host --version
|
||||||
5.0.0git-9a5c333388c
|
5.0.0git-9a5c333388c
|
||||||
@@ -15,10 +18,10 @@ Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
diff --git a/configure.ac b/configure.ac
|
||||||
index a02173f244..b107f04c2e 100644
|
index 7c95598afc..c248248c6b 100644
|
||||||
--- a/configure.ac
|
--- a/configure.ac
|
||||||
+++ b/configure.ac
|
+++ b/configure.ac
|
||||||
@@ -995,7 +995,7 @@ strip_unwanted_llvm_flags() {
|
@@ -1075,7 +1075,7 @@ strip_unwanted_llvm_flags() {
|
||||||
|
|
||||||
llvm_set_environment_variables() {
|
llvm_set_environment_variables() {
|
||||||
if test "x$LLVM_CONFIG" != xno; then
|
if test "x$LLVM_CONFIG" != xno; then
|
||||||
@@ -27,7 +30,7 @@ index a02173f244..b107f04c2e 100644
|
|||||||
LLVM_CPPFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cppflags"`
|
LLVM_CPPFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cppflags"`
|
||||||
LLVM_INCLUDEDIR=`$LLVM_CONFIG --includedir`
|
LLVM_INCLUDEDIR=`$LLVM_CONFIG --includedir`
|
||||||
LLVM_LIBDIR=`$LLVM_CONFIG --libdir`
|
LLVM_LIBDIR=`$LLVM_CONFIG --libdir`
|
||||||
@@ -2644,7 +2644,7 @@ detect_old_buggy_llvm() {
|
@@ -2776,7 +2776,7 @@ detect_old_buggy_llvm() {
|
||||||
dnl ourselves.
|
dnl ourselves.
|
||||||
dnl (See https://llvm.org/bugs/show_bug.cgi?id=6823)
|
dnl (See https://llvm.org/bugs/show_bug.cgi?id=6823)
|
||||||
dnl We can't use $LLVM_VERSION because it has 'svn' stripped out,
|
dnl We can't use $LLVM_VERSION because it has 'svn' stripped out,
|
||||||
@@ -37,5 +40,5 @@ index a02173f244..b107f04c2e 100644
|
|||||||
|
|
||||||
if test "x$llvm_have_one_so" = xyes; then
|
if test "x$llvm_have_one_so" = xyes; then
|
||||||
--
|
--
|
||||||
2.15.1
|
2.17.1
|
||||||
|
|
||||||
+6
-6
@@ -1,7 +1,7 @@
|
|||||||
From 18c3e684a8259a0644214f88c7ead7fa31573fd9 Mon Sep 17 00:00:00 2001
|
From 2c6f0c6f83d2012d2ffb64f1caff966497de8f72 Mon Sep 17 00:00:00 2001
|
||||||
From: Otavio Salvador <otavio@ossystems.com.br>
|
From: Otavio Salvador <otavio@ossystems.com.br>
|
||||||
Date: Fri, 29 Dec 2017 10:27:59 -0200
|
Date: Fri, 29 Dec 2017 10:27:59 -0200
|
||||||
Subject: [PATCH] Use Python 3 to execute the scripts
|
Subject: [PATCH 6/7] Use Python 3 to execute the scripts
|
||||||
Organization: O.S. Systems Software LTDA.
|
Organization: O.S. Systems Software LTDA.
|
||||||
|
|
||||||
The MESA build system uses Python 2 but as OE-Core has moved away from
|
The MESA build system uses Python 2 but as OE-Core has moved away from
|
||||||
@@ -15,11 +15,11 @@ Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
diff --git a/configure.ac b/configure.ac
|
||||||
index b107f04c2e..055546142d 100644
|
index c248248c6b..10f199d63c 100644
|
||||||
--- a/configure.ac
|
--- a/configure.ac
|
||||||
+++ b/configure.ac
|
+++ b/configure.ac
|
||||||
@@ -114,7 +114,7 @@ AC_PROG_CXX
|
@@ -122,7 +122,7 @@ AM_PROG_CC_C_O
|
||||||
AM_PROG_CC_C_O
|
AC_PROG_NM
|
||||||
AM_PROG_AS
|
AM_PROG_AS
|
||||||
AX_CHECK_GNU_MAKE
|
AX_CHECK_GNU_MAKE
|
||||||
-AC_CHECK_PROGS([PYTHON2], [python2.7 python2 python])
|
-AC_CHECK_PROGS([PYTHON2], [python2.7 python2 python])
|
||||||
@@ -28,5 +28,5 @@ index b107f04c2e..055546142d 100644
|
|||||||
AC_PROG_MKDIR_P
|
AC_PROG_MKDIR_P
|
||||||
|
|
||||||
--
|
--
|
||||||
2.15.1
|
2.17.1
|
||||||
|
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
From 9a25f6e7a0eb8825ab089fdd166dbaee778a4c81 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Otavio Salvador <otavio@ossystems.com.br>
|
||||||
|
Date: Wed, 6 Jun 2018 09:50:35 -0300
|
||||||
|
Subject: [PATCH 7/7] dri: i965: Add missing time.h include
|
||||||
|
Organization: O.S. Systems Software LTDA.
|
||||||
|
|
||||||
|
This fixes a build error when using musl:
|
||||||
|
|
||||||
|
,----
|
||||||
|
| In file included from .../src/mesa/drivers/dri/i965/intel_upload.c:33:0:
|
||||||
|
| .../src/mesa/drivers/dri/i965/brw_bufmgr.h:132:4: error: unknown type name 'time_t'
|
||||||
|
| time_t free_time;
|
||||||
|
| ^~~~~~
|
||||||
|
`----
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
||||||
|
---
|
||||||
|
src/mesa/drivers/dri/i965/brw_bufmgr.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h b/src/mesa/drivers/dri/i965/brw_bufmgr.h
|
||||||
|
index 68f5e0c2c8..5b60a23763 100644
|
||||||
|
--- a/src/mesa/drivers/dri/i965/brw_bufmgr.h
|
||||||
|
+++ b/src/mesa/drivers/dri/i965/brw_bufmgr.h
|
||||||
|
@@ -37,6 +37,7 @@
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
+#include <time.h>
|
||||||
|
#include "util/u_atomic.h"
|
||||||
|
#include "util/list.h"
|
||||||
|
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
Configure checks for compiler to be gcc and then it enables asm_offsets
|
|
||||||
generation. see
|
|
||||||
|
|
||||||
https://cgit.freedesktop.org/mesa/mesa/commit/?id=73c9b4b0e05fc66629ba250846948dc55c0e7a0d
|
|
||||||
|
|
||||||
However, we missed the check when enabling this on cross compilation
|
|
||||||
when architecture for both host and target is x86
|
|
||||||
|
|
||||||
Fixes errors like
|
|
||||||
./gen_matypes > matypes.h
|
|
||||||
/bin/bash: ./gen_matypes: No such file or directory
|
|
||||||
|
|
||||||
-Khem
|
|
||||||
|
|
||||||
Upstream-Status: Submitted
|
|
||||||
|
|
||||||
Index: mesa-12.0.1/configure.ac
|
|
||||||
===================================================================
|
|
||||||
--- mesa-12.0.1.orig/configure.ac
|
|
||||||
+++ mesa-12.0.1/configure.ac
|
|
||||||
@@ -732,7 +732,7 @@ test "x$enable_asm" = xno && AC_MSG_RESU
|
|
||||||
if test "x$enable_asm" = xyes -a "x$cross_compiling" = xyes; then
|
|
||||||
case "$host_cpu" in
|
|
||||||
i?86 | x86_64 | amd64)
|
|
||||||
- if test "x$host_cpu" != "x$target_cpu"; then
|
|
||||||
+ if test "x$host_cpu" != "x$target_cpu" -o "x$acv_mesa_CLANG" = xyes; then
|
|
||||||
enable_asm=no
|
|
||||||
AC_MSG_RESULT([no, cross compiling])
|
|
||||||
fi
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
Upstream-Status: Submitted
|
|
||||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
||||||
|
|
||||||
From 4854c72bc21486f81712c8693588f7af6c64cf93 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Ross Burton <ross.burton@intel.com>
|
|
||||||
Date: Wed, 9 May 2018 20:41:36 +0100
|
|
||||||
Subject: [PATCH] src/intel/Makefile.vulkan.am: add missing MKDIR_GEN
|
|
||||||
|
|
||||||
Out of tree builds can try to write into a directory that doesn't exist yet:
|
|
||||||
|
|
||||||
| Traceback (most recent call last):
|
|
||||||
| File "../../../mesa-18.0.2/src/intel/vulkan/anv_icd.py", line 46, in <module>
|
|
||||||
| with open(args.out, 'w') as f:
|
|
||||||
| IOError: [Errno 2] No such file or directory: 'vulkan/intel_icd.x86_64.json'
|
|
||||||
| Makefile:4882: recipe for target 'vulkan/intel_icd.x86_64.json' failed
|
|
||||||
|
|
||||||
Add missing MKDIR_GEN calls to solve this.
|
|
||||||
---
|
|
||||||
src/intel/Makefile.vulkan.am | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
|
|
||||||
index 0bcbf0419c..4125cb205a 100644
|
|
||||||
--- a/src/intel/Makefile.vulkan.am
|
|
||||||
+++ b/src/intel/Makefile.vulkan.am
|
|
||||||
@@ -64,10 +64,12 @@ EXTRA_DIST += \
|
|
||||||
vulkan/TODO
|
|
||||||
|
|
||||||
vulkan/dev_icd.json : vulkan/anv_extensions.py vulkan/anv_icd.py
|
|
||||||
+ $(MKDIR_GEN)
|
|
||||||
$(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_icd.py \
|
|
||||||
--lib-path="${abs_top_builddir}/${LIB_DIR}" --out $@
|
|
||||||
|
|
||||||
vulkan/intel_icd.@host_cpu@.json : vulkan/anv_extensions.py vulkan/anv_icd.py
|
|
||||||
+ $(MKDIR_GEN)
|
|
||||||
$(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_icd.py \
|
|
||||||
--lib-path="${libdir}" --out $@
|
|
||||||
|
|
||||||
--
|
|
||||||
2.11.0
|
|
||||||
|
|
||||||
+9
-10
@@ -1,18 +1,17 @@
|
|||||||
require ${BPN}.inc
|
require ${BPN}.inc
|
||||||
|
|
||||||
SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
|
SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
|
||||||
file://disable-asm-on-non-gcc.patch \
|
|
||||||
file://Use-Python-3-to-execute-the-scripts.patch \
|
|
||||||
file://0001-Use-wayland-scanner-in-the-path.patch \
|
|
||||||
file://0002-hardware-gloat.patch \
|
|
||||||
file://llvm-config-version.patch \
|
|
||||||
file://0001-winsys-svga-drm-Include-sys-types.h.patch \
|
|
||||||
file://0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch \
|
file://0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch \
|
||||||
file://vulkan-mkdir.patch \
|
file://0002-Simplify-wayland-scanner-lookup.patch \
|
||||||
"
|
file://0003-winsys-svga-drm-Include-sys-types.h.patch \
|
||||||
|
file://0004-hardware-gloat.patch \
|
||||||
|
file://0005-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch \
|
||||||
|
file://0006-Use-Python-3-to-execute-the-scripts.patch \
|
||||||
|
file://0007-dri-i965-Add-missing-time.h-include.patch \
|
||||||
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "3c303da98ec2ce37c795baeba5aee31e"
|
SRC_URI[md5sum] = "063468c930ff61d211ece0191874fa95"
|
||||||
SRC_URI[sha256sum] = "98fa159768482dc568b9f8bf0f36c7acb823fa47428ffd650b40784f16b9e7b3"
|
SRC_URI[sha256sum] = "d3312a2ede5aac14a47476b208b8e3a401367838330197c4588ab8ad420d7781"
|
||||||
|
|
||||||
#because we cannot rely on the fact that all apps will use pkgconfig,
|
#because we cannot rely on the fact that all apps will use pkgconfig,
|
||||||
#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
|
#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
|
||||||
Reference in New Issue
Block a user