From 5ffe8c1a0734718b4f04ea6de8749e03303151bd Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 22 Jun 2022 10:14:08 +1000 Subject: [PATCH] Update to 1.3.216.0 SDK release. Resolves: rhbz#2070289 --- .gitignore | 1 + sources | 2 +- spirv-tools.spec | 15 ++++++++------- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 8ce781f..50b852b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /spirv-tools-*.tar.gz +/SPIRV-Tools-sdk-1.3.216.0.tar.gz diff --git a/sources b/sources index d068f9d..f89afe6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (spirv-tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa.tar.gz) = 3b6267943248a4b3d048a20dfcd9251229a61ac0f907574d460bbcd7075953c9e2f54cd77edb553c74f40093a0e1b34ae7503005b2b75e8af2d704c8208742fe +SHA512 (SPIRV-Tools-sdk-1.3.216.0.tar.gz) = 85418189962611724488ea61f1b123c55c2f5ab9dd50d028c7ed1ed2965ff23e2679d514e863ac16b60a3c7c6b4fbd05e7c7ff398415e0435d72c96363b95188 diff --git a/spirv-tools.spec b/spirv-tools.spec index fac5667..5e19050 100644 --- a/spirv-tools.spec +++ b/spirv-tools.spec @@ -1,18 +1,15 @@ %undefine __cmake_in_source_build -%global commit 45dd184c790d6bfc78a5a74a10c37e888b1823fa -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20220202 -%global gitrel .%{commit_date}.git%{shortcommit} +%global sdkver 1.3.216.0 Name: spirv-tools -Version: 2022.1 +Version: 2022.2 Release: 2%{?gitrel}%{?dist} Summary: API and commands for processing SPIR-V modules License: ASL 2.0 URL: https://github.com/KhronosGroup/SPIRV-Tools -Source0: %url/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz +Source0: %url/archive/sdk-%{sdkver}.tar.gz#/SPIRV-Tools-sdk-%{sdkver}.tar.gz BuildRequires: cmake3 BuildRequires: gcc-c++ @@ -45,7 +42,7 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release} Development files for %{name} %prep -%autosetup -p1 -n SPIRV-Tools-%{commit} +%autosetup -p1 -n SPIRV-Tools-sdk-%{sdkver} %build %cmake3 -DCMAKE_BUILD_TYPE=Release \ @@ -75,6 +72,7 @@ Development files for %{name} %{_bindir}/spirv-val %files libs +%{_libdir}/libSPIRV-Tools-diff.so %{_libdir}/libSPIRV-Tools-link.so %{_libdir}/libSPIRV-Tools-lint.so %{_libdir}/libSPIRV-Tools-opt.so @@ -89,6 +87,9 @@ Development files for %{name} %{_libdir}/pkgconfig/SPIRV-Tools.pc %changelog +* Wed Jun 22 2022 Dave Airlie - 2022.2-2 +- Update to 1.3.216.0 SDK release. + * Sat Feb 26 2022 Dave Airlie - 2022.1-2.20220202.git45dd184 - workaround build problem bump