import spirv-tools-2022.2-2.el9_0

This commit is contained in:
CentOS Sources 2022-08-15 09:32:23 -04:00 committed by Stepan Oksanichenko
parent 5496a1b957
commit 5abdf3fbf7
3 changed files with 10 additions and 9 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/spirv-tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa.tar.gz
SOURCES/SPIRV-Tools-sdk-1.3.216.0.tar.gz

View File

@ -1 +1 @@
96023ce0c9c256d96db8771aaeeff981cf202229 SOURCES/spirv-tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa.tar.gz
2676221d252bcf9e37457e19b1a1e706af943a94 SOURCES/SPIRV-Tools-sdk-1.3.216.0.tar.gz

View File

@ -1,18 +1,15 @@
%undefine __cmake_in_source_build
%global commit 45dd184c790d6bfc78a5a74a10c37e888b1823fa
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20220202
%global gitrel .%{commit_date}.git%{shortcommit}
%global sdkver 1.3.216.0
Name: spirv-tools
Version: 2022.1
Version: 2022.2
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
Source0: %url/archive/sdk-%{sdkver}.tar.gz#/SPIRV-Tools-sdk-%{sdkver}.tar.gz
BuildRequires: cmake3
BuildRequires: gcc-c++
@ -45,7 +42,7 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Development files for %{name}
%prep
%autosetup -p1 -n SPIRV-Tools-%{commit}
%autosetup -p1 -n SPIRV-Tools-sdk-%{sdkver}
%build
%cmake3 -DCMAKE_BUILD_TYPE=Release \
@ -75,6 +72,7 @@ Development files for %{name}
%{_bindir}/spirv-val
%files libs
%{_libdir}/libSPIRV-Tools-diff.so
%{_libdir}/libSPIRV-Tools-link.so
%{_libdir}/libSPIRV-Tools-lint.so
%{_libdir}/libSPIRV-Tools-opt.so
@ -89,6 +87,9 @@ Development files for %{name}
%{_libdir}/pkgconfig/SPIRV-Tools.pc
%changelog
* Wed Jun 22 2022 Dave Airlie <airlied@redhat.com> - 2022.2-2
- Update to 1.3.216.0 SDK release.
* Sat Feb 26 2022 Dave Airlie <airlied@redhat.com> - 2022.1-2.20220202.git45dd184
- workaround build problem bump