Update to 1.3.204.0 SDK Version

Resolves: rhbz#2016877
This commit is contained in:
Dave Airlie 2022-02-25 15:57:46 +10:00
parent c829ff591f
commit f99f70b2d8
3 changed files with 10 additions and 19 deletions

View File

@ -1 +1 @@
SHA512 (spirv-tools-5dd2f76918bb2d0d67628e338f60f724f3e02e13.tar.gz) = a9b5f6fea22f81bfb3d365b12ed65d7ada027f4412eff62720c84ea4c73ec0fd28706ad3aee38359f9d92ba13a64c7edb02aa6a255e5864bdbaffa15b961094b
SHA512 (spirv-tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa.tar.gz) = 3b6267943248a4b3d048a20dfcd9251229a61ac0f907574d460bbcd7075953c9e2f54cd77edb553c74f40093a0e1b34ae7503005b2b75e8af2d704c8208742fe

View File

@ -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;
}

View File

@ -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 <airlied@redhat.com> - 2022.1-1.20220202.git45dd184
- Update to 1.3.204.0 SDK Version
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2021.2-2.20210619.git5dd2f76
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688