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

This commit is contained in:
CentOS Sources 2021-03-30 12:00:12 -04:00 committed by Stepan Oksanichenko
parent 630e7292b0
commit 27f1748974
3 changed files with 15 additions and 8 deletions

2
.gitignore vendored
View File

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

View File

@ -1 +1 @@
8e7b972d6bd221f385da0ddf186502bfaf370701 SOURCES/spirv-tools-97f1d485b76303ea7094fa164c0cc770b79f6f78.tar.gz
30d567894741d65bb36f703fa36c205853c1bdf0 SOURCES/spirv-tools-b27b1afd12d05bf238ac7368bb49de73cd620a8e.tar.gz

View File

@ -1,18 +1,18 @@
%global commit 97f1d485b76303ea7094fa164c0cc770b79f6f78
%global commit b27b1afd12d05bf238ac7368bb49de73cd620a8e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20200129
%global commit_date 20201208
%global gitrel .%{commit_date}.git%{shortcommit}
Name: spirv-tools
Version: 2019.5
Release: 1%{?gitrel}%{?dist}
Version: 2020.5
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,10 +48,11 @@ 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} \
-DSPIRV_TOOLS_BUILD_STATIC=OFF \
-GNinja ..
%ninja_build
popd
@ -87,6 +88,12 @@ popd
%{_libdir}/pkgconfig/SPIRV-Tools.pc
%changelog
* 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
* Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 2019.5-1
- update to latest upstream