From f99f70b2d880acbd20f3c3603985a4e0c45f5686 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 25 Feb 2022 15:57:46 +1000 Subject: [PATCH] Update to 1.3.204.0 SDK Version Resolves: rhbz#2016877 --- sources | 2 +- spirv-tools-gcc11.patch | 13 ------------- spirv-tools.spec | 14 +++++++++----- 3 files changed, 10 insertions(+), 19 deletions(-) delete mode 100644 spirv-tools-gcc11.patch diff --git a/sources b/sources index 067d233..d068f9d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (spirv-tools-5dd2f76918bb2d0d67628e338f60f724f3e02e13.tar.gz) = a9b5f6fea22f81bfb3d365b12ed65d7ada027f4412eff62720c84ea4c73ec0fd28706ad3aee38359f9d92ba13a64c7edb02aa6a255e5864bdbaffa15b961094b +SHA512 (spirv-tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa.tar.gz) = 3b6267943248a4b3d048a20dfcd9251229a61ac0f907574d460bbcd7075953c9e2f54cd77edb553c74f40093a0e1b34ae7503005b2b75e8af2d704c8208742fe diff --git a/spirv-tools-gcc11.patch b/spirv-tools-gcc11.patch deleted file mode 100644 index f5c82da..0000000 --- a/spirv-tools-gcc11.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/source/diagnostic.cpp b/source/diagnostic.cpp -index edc27c8..77c29d7 100644 ---- a/source/diagnostic.cpp -+++ b/source/diagnostic.cpp -@@ -37,7 +37,7 @@ spv_diagnostic spvDiagnosticCreate(const spv_position position, - diagnostic->position = *position; - diagnostic->isTextSource = false; - memset(diagnostic->error, 0, length); -- strncpy(diagnostic->error, message, length); -+ memcpy(diagnostic->error, message, length); - return diagnostic; - } - diff --git a/spirv-tools.spec b/spirv-tools.spec index 5e4c059..7af065a 100644 --- a/spirv-tools.spec +++ b/spirv-tools.spec @@ -1,19 +1,18 @@ %undefine __cmake_in_source_build -%global commit 5dd2f76918bb2d0d67628e338f60f724f3e02e13 +%global commit 45dd184c790d6bfc78a5a74a10c37e888b1823fa %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20210619 +%global commit_date 20220202 %global gitrel .%{commit_date}.git%{shortcommit} Name: spirv-tools -Version: 2021.2 -Release: 2%{?gitrel}%{?dist} +Version: 2022.1 +Release: 1%{?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 -Patch0: %{name}-gcc11.patch BuildRequires: cmake3 BuildRequires: gcc-c++ @@ -70,12 +69,14 @@ Development files for %{name} %{_bindir}/spirv-dis %{_bindir}/spirv-lesspipe.sh %{_bindir}/spirv-link +%{_bindir}/spirv-lint %{_bindir}/spirv-opt %{_bindir}/spirv-reduce %{_bindir}/spirv-val %files libs %{_libdir}/libSPIRV-Tools-link.so +%{_libdir}/libSPIRV-Tools-lint.so %{_libdir}/libSPIRV-Tools-opt.so %{_libdir}/libSPIRV-Tools.so %{_libdir}/libSPIRV-Tools-reduce.so @@ -88,6 +89,9 @@ Development files for %{name} %{_libdir}/pkgconfig/SPIRV-Tools.pc %changelog +* Fri Feb 25 2022 Dave Airlie - 2022.1-1.20220202.git45dd184 +- Update to 1.3.204.0 SDK Version + * Tue Aug 10 2021 Mohan Boddu - 2021.2-2.20210619.git5dd2f76 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688