Compare commits

..

4 Commits

Author SHA256 Message Date
Stefan Dirsch
8b79aa8b1d Build with GCC 13 on Leap/SLES 15 (bsc#1238713)
This is in preparation to get Mesa build fixed which broke, after
llvm19 needed to be built now with gcc13.
2025-03-06 21:30:22 +01:00
6272520b8f spirv-headers 1.6.4+sdk303 2024-12-15 21:47:53 +01:00
edf237a7fc spirv-headers 1.6.4+sdk296 2024-10-08 18:12:36 +02:00
131519444b spirv-headers 1.3.290 2024-07-23 06:52:46 +02:00
4 changed files with 18 additions and 10 deletions

View File

@ -1,4 +0,0 @@
mtime: 1734295673
commit: 6272520b8f7295acbbf1287a42ae9205b8acce0dbaf75c83c50af7a64e337014
url: https://src.opensuse.org/jengelh/spirv-headers
revision: master

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:91b1a9db094cf5109c7fb78d4e029db686e31f408f3e167abc1b937b6b6d6e7b
size 256

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 6 14:02:10 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- Build with GCC 13 on Leap/SLES 15 in the hope to fix Mesa build
(bsc#1238713)
-------------------------------------------------------------------
Sun Dec 15 20:43:19 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package spirv-headers
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,6 +23,12 @@
# They add "SDK" tags that reflect the Vulkan version (1.3),
# and the independently increasing toolchain release number (296).
# 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%{?suse_version} < 1600
%define gcc_version 13
%endif
Name: spirv-headers
Version: 1.6.4+sdk303
%define innerver 1.3.303
@ -36,7 +42,8 @@ Source: https://github.com/KhronosGroup/SPIRV-Headers/archive/cb6b2c32db
BuildArch: noarch
BuildRequires: cmake >= 2.8
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gcc%{?gcc_version} >= 9
BuildRequires: gcc%{?gcc_version}-c++ >= 9
BuildRequires: pkg-config
%description
@ -52,7 +59,9 @@ registry. This includes:
%autosetup -n SPIRV-Headers-%rev -p1
%build
%cmake
%cmake \
-DCMAKE_C_COMPILER=gcc%{?gcc_version:-%{gcc_version}} \
-DCMAKE_CXX_COMPILER=g++%{?gcc_version:-%{gcc_version}}
%cmake_build
%install