import CS spirv-tools-2024.2-1.el9
This commit is contained in:
parent
23af938c76
commit
4595dc5f6c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/SPIRV-Tools-sdk-1.3.268.0.tar.gz
|
||||
SOURCES/SPIRV-Tools-sdk-1.3.283.0.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
5915d4f18ea8661869f47c0711ac34a2f8d60756 SOURCES/SPIRV-Tools-sdk-1.3.268.0.tar.gz
|
||||
b96c7ad5e38f678a16b3e3f0fb7be5f98178b036 SOURCES/SPIRV-Tools-sdk-1.3.283.0.tar.gz
|
||||
|
12
SOURCES/fix-gcc12-build.patch
Normal file
12
SOURCES/fix-gcc12-build.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up SPIRV-Tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa/source/spirv_target_env.cpp.dma ./SPIRV-Tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa/source/spirv_target_env.cpp
|
||||
--- SPIRV-Tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa/source/spirv_target_env.cpp.dma 2022-02-16 08:20:38.927239298 +1000
|
||||
+++ SPIRV-Tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa/source/spirv_target_env.cpp 2022-02-16 08:20:42.262301854 +1000
|
||||
@@ -397,6 +397,8 @@ std::string spvLogStringForEnv(spv_targe
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
+// workaround gcc12/stdlibc++ -Wrestrict bug.
|
||||
+#pragma GCC diagnostic ignored "-Wrestrict"
|
||||
std::string spvTargetEnvList(const int pad, const int wrap) {
|
||||
std::string ret;
|
||||
size_t max_line_len = wrap - pad; // The first line isn't padded
|
@ -1,9 +1,9 @@
|
||||
%undefine __cmake_in_source_build
|
||||
|
||||
%global sdkver 1.3.268.0
|
||||
%global sdkver 1.3.283.0
|
||||
|
||||
Name: spirv-tools
|
||||
Version: 2023.3
|
||||
Version: 2024.2
|
||||
Release: 1%{?gitrel}%{?dist}
|
||||
Summary: API and commands for processing SPIR-V modules
|
||||
|
||||
@ -11,6 +11,8 @@ License: ASL 2.0
|
||||
URL: https://github.com/KhronosGroup/SPIRV-Tools
|
||||
Source0: %url/archive/vulkan-sdk-%{sdkver}.tar.gz#/SPIRV-Tools-sdk-%{sdkver}.tar.gz
|
||||
|
||||
Patch0: fix-gcc12-build.patch
|
||||
|
||||
BuildRequires: cmake3
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ninja-build
|
||||
@ -88,6 +90,9 @@ Development files for %{name}
|
||||
%{_libdir}/pkgconfig/SPIRV-Tools.pc
|
||||
|
||||
%changelog
|
||||
* Tue May 28 2024 José Expósito <jexposit@redhat.com> - 2024.2-1
|
||||
- Update to 1.3.283.0 SDK
|
||||
|
||||
* Wed Jan 17 2024 José Expósito <jexposit@redhat.com> - 2023.3-1
|
||||
- Update to 1.3.268.0 SDK
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user