1
0
forked from pool/spirv-tools

Accepting request 1089886 from X11:Wayland

- Update to release 2023.3~rc1

OBS-URL: https://build.opensuse.org/request/show/1089886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-tools?expand=0&rev=39
This commit is contained in:
Dominique Leuenberger 2023-06-02 22:05:19 +00:00 committed by Git OBS Bridge
commit 89b75f423c
5 changed files with 29 additions and 10 deletions

View File

@ -1,4 +1,4 @@
libSPIRV-Tools-2023_2
libSPIRV-Tools-2023_3_rc1
spirv-tools-devel
requires -spirv-tools-<targettype>
requires "libSPIRV-Tools-2023_2-<targettype> = <version>"
requires "libSPIRV-Tools-2023_3_rc1-<targettype> = <version>"

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue May 30 22:01:25 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2023.3~rc1
* Add spirv-dump tool
* Implement source extraction logic for spirv-objdump
* Add Vulkan memory model to allow lists
* Add default case for spv::Dim for TileImageEXT
* Add support for SPV_EXT_shader_tile_image
* opt: Fix null deref in OpMatrixTimesVector and OpVectorTimesMatrix
* Apply scalar replacement on vars with Pointer decorations
-------------------------------------------------------------------
Thu Mar 30 07:42:40 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,26 +17,30 @@
%define _lto_cflags %nil
%define lname libSPIRV-Tools-2023_2
%define lname libSPIRV-Tools-2023_3_rc1
Name: spirv-tools
Version: 2023.2
Version: 2023.3~rc1
Release: 0
Summary: API and commands for processing SPIR-V modules
License: Apache-2.0
Group: Development/Libraries/C and C++
URL: https://github.com/KhronosGroup/SPIRV-Tools
Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v%version.tar.gz
Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v2023.3.rc1.tar.gz
#Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/sdk-1.3.236.0.tar.gz
Source9: baselibs.conf
Patch1: ver.diff
BuildRequires: bison
BuildRequires: cmake >= 3.17.2
%if 0%{?suse_version} >= 1599
BuildRequires: gcc-c++
%else
BuildRequires: gcc11-c++
%endif
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: spirv-headers >= 1.6.1+sdk243
BuildRequires: spirv-headers >= 1.6.1+sdk250
%description
The package includes an assembler, binary module parser,
@ -64,11 +68,14 @@ validator, and is used in the standalone tools whilst also enabling
integration into other code bases directly.
%prep
%autosetup -p1 -n SPIRV-Tools-%version
%autosetup -p1 -n SPIRV-Tools-2023.3.rc1
find . -type f -name CMakeLists.txt -exec \
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt {} +
%build
%if 0%{?suse_version} && 0%{?suse_version} < 1599
export CXX=g++-11
%endif
%cmake -DSPIRV-Headers_SOURCE_DIR="%_prefix" \
-DSPIRV_TOOLS_BUILD_STATIC:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON
%cmake_build

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7416cc8a98a10c32bacc36a39930b0c5b2a484963df5d68f388ed7ffee1faad3
size 3101345

3
v2023.3.rc1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:117c9b41ac89a6a1df7656cf7eb795b67d0460d7f11ce1120742f59f851026b4
size 3112300