diff --git a/.gitignore b/.gitignore index cfdba6c..d5052e8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/spirv-tools-5dd2f76918bb2d0d67628e338f60f724f3e02e13.tar.gz +SOURCES/spirv-tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa.tar.gz diff --git a/.spirv-tools.metadata b/.spirv-tools.metadata index 0d8502c..bd2f046 100644 --- a/.spirv-tools.metadata +++ b/.spirv-tools.metadata @@ -1 +1 @@ -55554351545562b9cd12fa5c17d2ae24d73fbe2b SOURCES/spirv-tools-5dd2f76918bb2d0d67628e338f60f724f3e02e13.tar.gz +96023ce0c9c256d96db8771aaeeff981cf202229 SOURCES/spirv-tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa.tar.gz diff --git a/SOURCES/spirv-tools-gcc11.patch b/SOURCES/spirv-tools-gcc11.patch deleted file mode 100644 index f5c82da..0000000 --- a/SOURCES/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/SPECS/spirv-tools.spec b/SPECS/spirv-tools.spec index 5e4c059..fac5667 100644 --- a/SPECS/spirv-tools.spec +++ b/SPECS/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 +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 - 2022.1-2.20220202.git45dd184 +- workaround build problem bump + +* 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