import spirv-tools-2022.2-3.el9

This commit is contained in:
CentOS Sources 2022-09-27 06:25:10 -04:00 committed by Stepan Oksanichenko
parent 16dedd46b1
commit 5d86b3f29e
3 changed files with 14 additions and 10 deletions

2
.gitignore vendored
View File

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

View File

@ -1 +1 @@
96023ce0c9c256d96db8771aaeeff981cf202229 SOURCES/spirv-tools-45dd184c790d6bfc78a5a74a10c37e888b1823fa.tar.gz
718b86c1f54457337e3f978dc781fbec3dc0a8c2 SOURCES/SPIRV-Tools-sdk-1.3.224.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.224.0
Name: spirv-tools
Version: 2022.1
Release: 2%{?gitrel}%{?dist}
Version: 2022.2
Release: 3%{?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,12 @@ Development files for %{name}
%{_libdir}/pkgconfig/SPIRV-Tools.pc
%changelog
* Fri Aug 26 2022 Dave Airlie <airlied@redhat.com> - 2022.2-3
- Update to 1.3.224.0 SDK release.
* 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