import spirv-tools-2022.1-2.20220202.git45dd184.el9

This commit is contained in:
CentOS Sources 2022-04-05 06:04:33 -04:00 committed by Stepan Oksanichenko
parent 61faae9b70
commit 16dedd46b1
4 changed files with 13 additions and 19 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/spirv-tools-5dd2f76918bb2d0d67628e338f60f724f3e02e13.tar.gz
SOURCES/spirv-tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa.tar.gz

View File

@ -1 +1 @@
55554351545562b9cd12fa5c17d2ae24d73fbe2b SOURCES/spirv-tools-5dd2f76918bb2d0d67628e338f60f724f3e02e13.tar.gz
96023ce0c9c256d96db8771aaeeff981cf202229 SOURCES/spirv-tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa.tar.gz

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
Version: 2022.1
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
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,12 @@ Development files for %{name}
%{_libdir}/pkgconfig/SPIRV-Tools.pc
%changelog
* Sat Feb 26 2022 Dave Airlie <airlied@redhat.com> - 2022.1-2.20220202.git45dd184
- workaround build problem bump
* 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