Accepting request 768651 from X11:XOrg

- require and check for llvm-devel >= 9 instead of llvm9-devel on
  openSUSE

- enabled build of gallium based llvmpipe driver for s390x
  (related to jsc#IBM-369, jsc#SLE-7452)

- Update to version 19.3.3
  * There's plenty of changes here, but intel, docs, radeonsi,
    and aco are the biggest sets of changes.
- supersedes U_0005-radv-Remove-syncobj_handle-variable-in-header.patch

- set optflags also for g++ compiler

OBS-URL: https://build.opensuse.org/request/show/768651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=367
This commit is contained in:
Dominique Leuenberger 2020-02-03 10:26:43 +00:00 committed by Git OBS Bridge
commit 775e648edc
9 changed files with 85 additions and 53 deletions

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Jan 29 22:56:19 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- require and check for llvm-devel >= 9 instead of llvm9-devel on
openSUSE
-------------------------------------------------------------------
Wed Jan 29 17:15:01 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- enabled build of gallium based llvmpipe driver for s390x
(related to jsc#IBM-369, jsc#SLE-7452)
-------------------------------------------------------------------
Wed Jan 29 14:59:10 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 19.3.3
* There's plenty of changes here, but intel, docs, radeonsi,
and aco are the biggest sets of changes.
- supersedes U_0005-radv-Remove-syncobj_handle-variable-in-header.patch
-------------------------------------------------------------------
Wed Jan 29 13:34:34 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- set optflags also for g++ compiler
-------------------------------------------------------------------
Mon Jan 27 15:31:52 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -42,7 +42,7 @@
%define glamor 1
%define _name_archive mesa
%define _version 19.3.2
%define _version 19.3.3
%define with_opencl 0
%define with_vulkan 0
%define with_llvm 0
@ -110,7 +110,7 @@
%endif
Name: Mesa-drivers
Version: 19.3.2
Version: 19.3.3
Release: 0
Summary: System for rendering 3-D graphics
License: MIT
@ -133,7 +133,6 @@ Patch61: U_0001-gallium-Fix-a-couple-of-multiple-definition-warnings.patc
Patch62: U_0002-r600-Move-get_pic_param-to-radeon_vce.c.patch
Patch63: U_0003-radeon-Move-si_get_pic_param-to-radeon_vce.c.patch
Patch64: U_0004-radeon-Fix-multiple-definition-error-with-radeon_deb.patch
Patch65: U_0005-radv-Remove-syncobj_handle-variable-in-header.patch
Patch66: U_0006-nouveau-nvc0-add-extern-keyword-to-nvc0_miptree_vtbl.patch
BuildRequires: bison
BuildRequires: fdupes
@ -215,8 +214,12 @@ BuildRequires: pkgconfig(wayland-protocols) >= 1.8
BuildRequires: pkgconfig(wayland-server) >= 1.11
%endif
%if 0%{with_llvm}
%if 0%{?is_opensuse}
BuildRequires: llvm-devel >= 9.0.0
%else
BuildRequires: llvm9-devel
%endif
%endif
%if 0%{with_opencl}
BuildRequires: clang9-devel
@ -733,10 +736,16 @@ programs against the XA state tracker.
rm -rf docs/README.{VMS,WIN32,OS2}
%if 0%{with_llvm}
%if 0%{?is_opensuse}
%if %{pkg_vcmp llvm-devel >= 9.0}
%patch1 -p1
%endif
%else
%if %{pkg_vcmp llvm9-devel >= 9.0}
%patch1 -p1
%endif
%endif
%endif
%patch2 -p1
%patch54 -p1
%patch58 -p1
@ -744,7 +753,6 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%patch62 -p1
%patch63 -p1
%patch64 -p1
%patch65 -p1
%patch66 -p1
# Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
@ -829,8 +837,8 @@ egl_platforms=x11,drm,surfaceless
-Ddri-drivers=nouveau \
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast \
%else
-Ddri-drivers=swrast \
-Dgallium-drivers= \
-Ddri-drivers= \
-Dgallium-drivers=swrast \
%endif
%endif
%endif
@ -839,7 +847,8 @@ egl_platforms=x11,drm,surfaceless
-Dgallium-drivers= \
%endif
-Db_ndebug=true \
-Dc_args="%{optflags}"
-Dc_args="%{optflags}" \
-Dcpp_args="%{optflags}"
%meson_build

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Jan 29 22:56:19 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- require and check for llvm-devel >= 9 instead of llvm9-devel on
openSUSE
-------------------------------------------------------------------
Wed Jan 29 17:15:01 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- enabled build of gallium based llvmpipe driver for s390x
(related to jsc#IBM-369, jsc#SLE-7452)
-------------------------------------------------------------------
Wed Jan 29 14:59:10 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 19.3.3
* There's plenty of changes here, but intel, docs, radeonsi,
and aco are the biggest sets of changes.
- supersedes U_0005-radv-Remove-syncobj_handle-variable-in-header.patch
-------------------------------------------------------------------
Wed Jan 29 13:34:34 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- set optflags also for g++ compiler
-------------------------------------------------------------------
Mon Jan 27 15:31:52 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -41,7 +41,7 @@
%define glamor 1
%define _name_archive mesa
%define _version 19.3.2
%define _version 19.3.3
%define with_opencl 0
%define with_vulkan 0
%define with_llvm 0
@ -109,7 +109,7 @@
%endif
Name: Mesa
Version: 19.3.2
Version: 19.3.3
Release: 0
Summary: System for rendering 3-D graphics
License: MIT
@ -132,7 +132,6 @@ Patch61: U_0001-gallium-Fix-a-couple-of-multiple-definition-warnings.patc
Patch62: U_0002-r600-Move-get_pic_param-to-radeon_vce.c.patch
Patch63: U_0003-radeon-Move-si_get_pic_param-to-radeon_vce.c.patch
Patch64: U_0004-radeon-Fix-multiple-definition-error-with-radeon_deb.patch
Patch65: U_0005-radv-Remove-syncobj_handle-variable-in-header.patch
Patch66: U_0006-nouveau-nvc0-add-extern-keyword-to-nvc0_miptree_vtbl.patch
BuildRequires: bison
BuildRequires: fdupes
@ -214,8 +213,12 @@ BuildRequires: pkgconfig(wayland-protocols) >= 1.8
BuildRequires: pkgconfig(wayland-server) >= 1.11
%endif
%if 0%{with_llvm}
%if 0%{?is_opensuse}
BuildRequires: llvm-devel >= 9.0.0
%else
BuildRequires: llvm9-devel
%endif
%endif
%if 0%{with_opencl}
BuildRequires: clang9-devel
@ -732,10 +735,16 @@ programs against the XA state tracker.
rm -rf docs/README.{VMS,WIN32,OS2}
%if 0%{with_llvm}
%if 0%{?is_opensuse}
%if %{pkg_vcmp llvm-devel >= 9.0}
%patch1 -p1
%endif
%else
%if %{pkg_vcmp llvm9-devel >= 9.0}
%patch1 -p1
%endif
%endif
%endif
%patch2 -p1
%patch54 -p1
%patch58 -p1
@ -743,7 +752,6 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%patch62 -p1
%patch63 -p1
%patch64 -p1
%patch65 -p1
%patch66 -p1
# Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
@ -828,8 +836,8 @@ egl_platforms=x11,drm,surfaceless
-Ddri-drivers=nouveau \
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast \
%else
-Ddri-drivers=swrast \
-Dgallium-drivers= \
-Ddri-drivers= \
-Dgallium-drivers=swrast \
%endif
%endif
%endif
@ -838,7 +846,8 @@ egl_platforms=x11,drm,surfaceless
-Dgallium-drivers= \
%endif
-Db_ndebug=true \
-Dc_args="%{optflags}"
-Dc_args="%{optflags}" \
-Dcpp_args="%{optflags}"
%meson_build

View File

@ -1,36 +0,0 @@
From bd4380c63c3b8b8b5f60dc840809dbe96a222fd7 Mon Sep 17 00:00:00 2001
From: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Date: Tue, 21 Jan 2020 11:49:55 +0100
Subject: [PATCH] radv: Remove syncobj_handle variable in header.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
I strongly suspect it was supposed to be a typedef. However, used
nowhere, we should remove it.
Fixes: eaa56eab6da "radv: initial support for shared semaphores (v2)"
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2385
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3479>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3479>
---
src/amd/vulkan/radv_radeon_winsys.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/amd/vulkan/radv_radeon_winsys.h b/src/amd/vulkan/radv_radeon_winsys.h
index c8790917bcc..5c7b1ab5118 100644
--- a/src/amd/vulkan/radv_radeon_winsys.h
+++ b/src/amd/vulkan/radv_radeon_winsys.h
@@ -156,7 +156,6 @@ struct radeon_bo_metadata {
uint32_t metadata[64];
};
-uint32_t syncobj_handle;
struct radeon_winsys_fence;
struct radeon_winsys_bo {
--
2.16.4

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e3aee324616352bbc7f58d47ab573e10f68cc7719fd045bd6d3abcdd97ee1c1
size 11834324

Binary file not shown.

3
mesa-19.3.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81ce4810bb25d61300f8104856461f4d49cf7cb794aa70cb572312e370c39f09
size 11938700

BIN
mesa-19.3.3.tar.xz.sig Normal file

Binary file not shown.