Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package Mesa for openSUSE:Factory checked in 
at 2023-01-20 17:37:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/Mesa (Old)
 and      /work/SRC/openSUSE:Factory/.Mesa.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "Mesa"

Fri Jan 20 17:37:39 2023 rev:466 rq:1059416 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/Mesa/Mesa.changes        2023-01-14 
00:02:15.997378495 +0100
+++ /work/SRC/openSUSE:Factory/.Mesa.new.32243/Mesa.changes     2023-01-20 
17:37:40.760189074 +0100
@@ -1,0 +2,22 @@
+Mon Jan 16 22:44:11 UTC 2023 - Martin Hauke <mar...@gmx.de>
+
+- Add support for Rusticl - Mesa's new OpenCL implementation.
+  * See https://docs.mesa3d.org/rusticl
+  You will need to set your environment to use it
+  * See https://docs.mesa3d.org/envvars#rusticl-environment-variables
+
+-------------------------------------------------------------------
+Mon Jan 16 11:27:13 UTC 2023 - Hans-Peter Jansen <h...@urpla.net>
+
+- Compile with gcc12 on Leaps: building drivers fails with:
+  /usr/include/dxguids/dxguids.h:70:1: internal compiler error: 
+  in cxx_eval_bit_field_ref, at cp/constexpr.c:2578
+
+-------------------------------------------------------------------
+Sun Jan 15 12:40:15 UTC 2023 - Martin Hauke <mar...@gmx.de>
+
+- Fix some deprecation warnings
+  * WARNING: option "false" deprecated, please use "disabled" instead.
+  * WARNING: option "true" deprecated, please use "enabled" instead.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ Mesa.spec ++++++
--- /var/tmp/diff_new_pack.i7bmLQ/_old  2023-01-20 17:37:41.956195689 +0100
+++ /var/tmp/diff_new_pack.i7bmLQ/_new  2023-01-20 17:37:41.960195711 +0100
@@ -44,6 +44,7 @@
 %define _name_archive mesa
 %define _version 22.3.3
 %define with_opencl 0
+%define with_rusticl 0
 %define with_vulkan 0
 %define with_llvm 0
 
@@ -95,6 +96,11 @@
 
 %if "%{flavor}" == "drivers"
   %define glamor 0
+%if 0%{?suse_version} > 1550
+%ifnarch s390 s390x
+  %define with_rusticl 1
+%endif
+%endif
 %else
   # No llvm dependencies
   %define with_llvm 0
@@ -148,7 +154,11 @@
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  flex
+%if 0%{?sle_version} >= 150400
+BuildRequires:  gcc12-c++
+%else
 BuildRequires:  gcc-c++
+%endif
 BuildRequires:  glslang-devel
 BuildRequires:  imake
 BuildRequires:  libtool
@@ -269,6 +279,12 @@
 %endif
 %endif
 BuildRequires:  libclc
+%if 0%{with_rusticl}
+BuildRequires:  rust
+BuildRequires:  rust-bindgen
+BuildRequires:  pkgconfig(LLVMSPIRVLib)
+BuildRequires:  pkgconfig(SPIRV-Tools)
+%endif
 %endif
 
 Requires:       Mesa-libEGL1 = %{version}
@@ -643,7 +659,7 @@
 This package contains the VDPAU state tracker for VirtIO GPU.
 
 %package -n Mesa-libOpenCL
-Summary:        Mesa OpenCL implementation
+Summary:        Mesa OpenCL implementation (Clover)
 Group:          System/Libraries
 %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
 Requires:       libclc(llvm%{_llvm_sonum})
@@ -654,6 +670,18 @@
 %description -n Mesa-libOpenCL
 This package contains the Mesa OpenCL implementation or GalliumCompute.
 
+%package -n Mesa-libRusticlOpenCL
+Summary:        Mesa OpenCL implementation (Rusticl)
+Group:          System/Libraries
+%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
+Requires:       libclc(llvm%{_llvm_sonum})
+%else
+Requires:       libclc
+%endif
+
+%description -n Mesa-libRusticlOpenCL
+This package contains the Mesa Rust-written OpenCL implementation.
+
 %package -n Mesa-libva
 Summary:        Mesa VA-API implementation
 Group:          System/Libraries
@@ -777,55 +805,63 @@
 %ifarch ppc64 ppc64le
 %limit_build -m 1024
 %endif
+%if 0%{?sle_version} >= 150400
+export CC=gcc-12
+export CXX=g++-12
+%endif
 
 egl_platforms=x11,wayland
 
 %meson \
             --auto-features=disabled \
 %if "%{flavor}" == "drivers"
-            -Dgles1=false \
-            -Dgles2=false \
-            -Degl=true \
+            -Dgles1=disabled \
+            -Dgles2=disabled \
+            -Degl=enabled \
             -Dglx=disabled \
             -Dosmesa=false \
 %else
             -Dglvnd=true \
-            -Dgles1=true \
-            -Dgles2=true \
-            -Degl=true \
+            -Dgles1=enabled \
+            -Dgles2=enabled \
+            -Degl=enabled \
             -Dosmesa=true \
             -Dglx=auto \
-            -Dllvm=false \
+            -Dllvm=disabled \
             -Dvulkan-drivers= \
 %endif
             -Dplatforms=$egl_platforms \
-            -Ddri3=true \
-            -Dshared-glapi=true \
+            -Ddri3=enabled \
+            -Dshared-glapi=enabled \
 %if 0%{?with_nine}
             -Dgallium-nine=true \
 %endif
 %if %{glamor}
-            -Dgbm=true \
+            -Dgbm=enabled \
 %endif
 %if 0%{with_opencl}
             -Dgallium-opencl=icd \
 %if 0%{?suse_version} >= 1550
             --sysconfdir=%{_datadir} \
 %endif
+%if 0%{with_rusticl}
+            -Dgallium-rusticl=true \
+            -Drust_std=2021 \
+%endif
 %endif
             -Ddri-search-path=%{_libdir}/dri \
 %if 0%{with_llvm}
-            -Dllvm=true \
-            -Dshared-llvm=true \
+            -Dllvm=enabled \
+            -Dshared-llvm=enabled \
 %endif
 %if "%{flavor}" == "drivers"
 %if %{video_codecs}
             -Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec \
 %endif
 %if %{gallium_loader}
-            -Dgallium-vdpau=true \
-            -Dgallium-va=true \
-            -Dgallium-xa=true \
+            -Dgallium-vdpau=enabled \
+            -Dgallium-va=enabled \
+            -Dgallium-xa=enabled \
 %endif
 %if 0%{with_vulkan}
             -Dvulkan-drivers=%{?vulkan_drivers} \
@@ -855,7 +891,7 @@
             -Dgallium-drivers=swrast \
 %endif
 %ifarch aarch64 %{ix86} x86_64 ppc64le s390x
-            -Dvalgrind=true \
+            -Dvalgrind=enabled \
 %endif
             -Db_ndebug=true \
             -Dc_args="%{optflags}" \
@@ -1161,6 +1197,20 @@
 %{_libdir}/libMesaOpenCL.so*
 %endif
 
+%if 0%{with_rusticl}
+%files -n Mesa-libRusticlOpenCL
+%if 0%{?suse_version} >= 1550
+%dir %{_datadir}/OpenCL
+%dir %{_datadir}/OpenCL/vendors
+%{_datadir}/OpenCL/vendors/rusticl.icd
+%else
+%dir %{_sysconfdir}/OpenCL
+%dir %{_sysconfdir}/OpenCL/vendors
+%{_sysconfdir}/OpenCL/vendors/rusticl.icd
+%endif
+%{_libdir}/libRusticlOpenCL.so*
+%endif
+
 %if "%{flavor}" == "drivers"
 %ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
 %files -n Mesa-libva

Reply via email to