import spirv-tools-2020.5-3.20201208.gitb27b1af.el8

This commit is contained in:
CentOS Sources 2021-02-04 06:15:59 +00:00 committed by Andrew Lukoshko
parent 29ae9d4df6
commit 5cb935c875
3 changed files with 9 additions and 9 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/spirv-tools-f7da527757140ae701be58274ce6db2f4234d9ff.tar.gz
SOURCES/spirv-tools-b27b1afd12d05bf238ac7368bb49de73cd620a8e.tar.gz

View File

@ -1 +1 @@
c8af9953f625bb3924b22a59a11d5956322f86dc SOURCES/spirv-tools-f7da527757140ae701be58274ce6db2f4234d9ff.tar.gz
30d567894741d65bb36f703fa36c205853c1bdf0 SOURCES/spirv-tools-b27b1afd12d05bf238ac7368bb49de73cd620a8e.tar.gz

View File

@ -1,18 +1,18 @@
%global commit f7da527757140ae701be58274ce6db2f4234d9ff
%global commit b27b1afd12d05bf238ac7368bb49de73cd620a8e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20201031
%global commit_date 20201208
%global gitrel .%{commit_date}.git%{shortcommit}
Name: spirv-tools
Version: 2020.5
Release: 2%{?gitrel}%{?dist}
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
BuildRequires: cmake3
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja-build
%if 0%{?rhel} == 7
@ -48,7 +48,7 @@ Development files for %{name}
%build
%__mkdir_p %_target_platform
pushd %_target_platform
%cmake3 -DCMAKE_BUILD_TYPE=Release \
%cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DSPIRV-Headers_SOURCE_DIR=%{_prefix} \
-DPYTHON_EXECUTABLE=%{__python3} \
@ -88,8 +88,8 @@ popd
%{_libdir}/pkgconfig/SPIRV-Tools.pc
%changelog
* Tue Nov 03 2020 Dave Airlie <airlied@redhat.com> - 2020.5-2
- Update to latest upstream
* Thu Jan 28 2021 Dave Airlie <airlied@redhat.com> - 2020.5-3
- Update to 1.2.162.0 SDK version
* Wed Aug 05 2020 Dave Airlie <airlied@redhat.com> - 2020.5-1
- update to latest upstream