Accepting request 1251244 from X11:XOrg

- enabled Raytracing (vulkan) support for intel ARC GPUs
  (boo#1238732)

- no longer hardcode CXX, but instead make use of %gcc_version, 
  which is implicitely set in prjconf, which I wasn't aware of ...

- Build with GCC 13 on Leap/SLES 15 (bsc#1238713)

- Update to release 25.0.1
   --> https://docs.mesa3d.org/relnotes/25.0.1

OBS-URL: https://build.opensuse.org/request/show/1251244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=533
This commit is contained in:
2025-03-08 16:51:53 +00:00
committed by Git OBS Bridge
6 changed files with 64 additions and 16 deletions

View File

@@ -1,3 +1,49 @@
-------------------------------------------------------------------
Fri Mar 7 13:40:43 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- enabled Raytracing (vulkan) support for intel ARC GPUs
(boo#1238732)
-------------------------------------------------------------------
Fri Mar 7 09:56:50 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- no longer hardcode CXX, but instead make use of %gcc_version,
which is implicitely set in prjconf, which I wasn't aware of ...
-------------------------------------------------------------------
Thu Mar 6 22:21:45 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- CXX needs to be set to an existing g++ compiler; otherwise you get
meson.build:4:0: ERROR: Unknown compiler(s): [['c++'], ['g++'], ['clang++'], ['nvc++'], ['pgc++'], ['icpc'], ['icpx']]
The following exception(s) were encountered:
Running `c++ --version` gave "[Errno 2] No such file or directory: 'c++'"
Running `g++ --version` gave "[Errno 2] No such file or directory: 'g++'"
Running `clang++ --version` gave "[Errno 2] No such file or directory: 'clang++'"
Running `nvc++ --version` gave "[Errno 2] No such file or directory: 'nvc++'"
Running `pgc++ --version` gave "[Errno 2] No such file or directory: 'pgc++'"
Running `icpc --version` gave "[Errno 2] No such file or directory: 'icpc'"
Running `icpx --version` gave "[Errno 2] No such file or directory: 'icpx'"
Since there is no 'g++' available I take 'g++-14', i.e.
export CXX=g++-14
I don't care if gcc gets updated and Mesa fails then. I much more
often need to update Mesa than we see a gcc update ...
-------------------------------------------------------------------
Thu Mar 6 14:58:51 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- fixed build for TW
-------------------------------------------------------------------
Thu Mar 6 13:51:52 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- Build with GCC 13 on Leap/SLES 15 (bsc#1238713)
-------------------------------------------------------------------
Wed Mar 5 22:13:36 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- Update to release 25.0.1
--> https://docs.mesa3d.org/relnotes/25.0.1
-------------------------------------------------------------------
Wed Mar 5 13:16:20 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>

View File

@@ -43,7 +43,7 @@
%define glamor 1
%define _name_archive mesa
%ifnarch s390x
%define _version 25.0.0
%define _version 25.0.1
%else
%define _version 24.1.7
%endif
@@ -148,9 +148,15 @@
%global _proc_macro2_ver 1.0.86
%global _paste_crate_ver 1.0.14
# Leap 15 and SLES 15 defaults to GCC 7, which does not have stable C++17 ABI.
# See https://bugzilla.suse.com/show_bug.cgi?id=1235697
%if 0%{?gcc_version} < 13
%define gcc_version 13
%endif
Name: Mesa%{psuffix}
%ifnarch s390x
Version: 25.0.0
Version: 25.0.1
%else
Version: 24.1.7
%endif
@@ -181,8 +187,8 @@ Source9: manual-pages.tar.bz2
Source10: Mesa-rpmlintrc
Source11: Mesa.keyring
Source12: README-suse-maintenance.md
Source20: https://archive.mesa3d.org/%{_name_archive}-25.0.0.tar.xz
Source21: https://archive.mesa3d.org/%{_name_archive}-25.0.0.tar.xz.sig
Source20: https://archive.mesa3d.org/%{_name_archive}-25.0.1.tar.xz
Source21: https://archive.mesa3d.org/%{_name_archive}-25.0.1.tar.xz.sig
Patch2: n_add-Mesa-headers-again.patch
Patch11: u_0001-intel-genxml-Drop-from-__future__-import-annotations.patch
Patch12: u_0002-intel-genxml-Add-a-untyped-OrderedDict-fallback-for-.patch
@@ -221,11 +227,8 @@ BuildRequires: bison
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: flex
%if 0%{?sle_version} >= 150400
BuildRequires: gcc13-c++
%else
BuildRequires: gcc-c++
%endif
BuildRequires: gcc%{?gcc_version} >= 9
BuildRequires: gcc%{?gcc_version}-c++ >= 9
BuildRequires: glslang-devel
BuildRequires: imake
BuildRequires: libtool
@@ -911,10 +914,8 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \
%ifarch ppc64 ppc64le
%limit_build -m 1024
%endif
%if 0%{?sle_version} >= 150400
export CC=gcc-13
export CXX=g++-13
%endif
export CC=gcc-%{gcc_version}
export CXX=g++-%{gcc_version}
egl_platforms=x11,wayland
@@ -987,6 +988,7 @@ egl_platforms=x11,wayland
-Dgallium-drivers=r300,r600,radeonsi,nouveau,softpipe,llvmpipe,svga,virgl,iris,crocus,i915,d3d12,zink \
-Dgallium-d3d12-video=enabled \
-Dgallium-d3d12-graphics=enabled \
-Dintel-rt=enabled \
%else
%ifarch %{arm} aarch64
%if 0%{?suse_version} >= 1550

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96a53501fd59679654273258c6c6a1055a20e352ee1429f0b123516c7190e5b0
size 46643728

Binary file not shown.

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

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49eb55ba5acccae91deb566573a6a73144a0f39014be1982d78c21c5b6b0bb3f
size 46679784

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

Binary file not shown.