Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package spirv-llvm-translator for
openSUSE:Factory checked in at 2025-03-07 16:39:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spirv-llvm-translator (Old)
and /work/SRC/openSUSE:Factory/.spirv-llvm-translator.new.19136 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spirv-llvm-translator"
Fri Mar 7 16:39:23 2025 rev:17 rq:1251034 version:19.1.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/spirv-llvm-translator/spirv-llvm-translator.changes
2025-03-06 14:48:40.149289745 +0100
+++
/work/SRC/openSUSE:Factory/.spirv-llvm-translator.new.19136/spirv-llvm-translator.changes
2025-03-07 16:40:36.545441066 +0100
@@ -1,0 +2,6 @@
+Thu Mar 6 11:55:54 UTC 2025 - Stefan Dirsch <[email protected]>
+
+- Build with GCC 13 on Leap/SLES 15 in the hope to fix Mesa build
+ (bsc#1238713)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ spirv-llvm-translator.spec ++++++
--- /var/tmp/diff_new_pack.0dcMoZ/_old 2025-03-07 16:40:37.041461823 +0100
+++ /var/tmp/diff_new_pack.0dcMoZ/_new 2025-03-07 16:40:37.045461990 +0100
@@ -17,6 +17,10 @@
#
+%if 0%{?suse_version} < 1600
+%define gcc_version 13
+%endif
+
%define sover 19
Name: spirv-llvm-translator
Version: 19.1.5
@@ -28,7 +32,8 @@
Source:
https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v%{version}.tar.gz#/SPIRV-LLVM-Translator-%{version}.tar.gz
Source101: %{name}.rpmlintrc
BuildRequires: cmake >= 3.3
-BuildRequires: gcc-c++
+BuildRequires: gcc%{?gcc_version} >= 9
+BuildRequires: gcc%{?gcc_version}-c++ >= 9
BuildRequires: llvm%{sover}-devel
BuildRequires: pkgconfig
BuildRequires: spirv-headers
@@ -64,6 +69,8 @@
%build
%cmake \
+ -DCMAKE_C_COMPILER=gcc%{?gcc_version:-%{gcc_version}} \
+ -DCMAKE_CXX_COMPILER=g++%{?gcc_version:-%{gcc_version}} \
-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=%{_prefix} \
-DLLVM_SPIRV_BUILD_EXTERNAL=YES
%cmake_build