1
0

- Update to 2022.3~sdk216 (SDK-1.3.216.0)

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=81
This commit is contained in:
2022-06-15 16:56:57 +00:00
committed by Git OBS Bridge
parent e12d942416
commit c273689cf7
6 changed files with 32 additions and 19 deletions

View File

@@ -17,17 +17,18 @@
%define _lto_cflags %nil
%define lname libSPIRV-Tools-suse25
%define lname libSPIRV-Tools-suse26
Name: spirv-tools
Version: 2022.2
Version: 2022.3~sdk216
Release: 0
Summary: API and commands for processing SPIR-V modules
License: Apache-2.0
Group: Development/Libraries/C and C++
URL: https://github.com/KhronosGroup/SPIRV-Tools
Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/v%version.tar.gz
#Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/v%version.tar.gz
Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/sdk-1.3.216.0.tar.gz
Source9: baselibs.conf
Patch1: ver.diff
Patch2: gcc48.diff
@@ -37,7 +38,7 @@ BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: spirv-headers >= 1.6.1+sdk211
BuildRequires: spirv-headers >= 1.6.1+sdk216
%description
The package includes an assembler, binary module parser,
@@ -65,7 +66,7 @@ validator, and is used in the standalone tools whilst also enabling
integration into other code bases directly.
%prep
%autosetup -p1 -n SPIRV-Tools-%version
%autosetup -p1 -n SPIRV-Tools-sdk-1.3.216.0
%build
%if 0%{?suse_version} >= 1550