diff --git a/baselibs.conf b/baselibs.conf index 3db3efa..328f320 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,4 @@ -libSPIRV-Tools-2023_2 +libSPIRV-Tools-2023_3_rc1 spirv-tools-devel requires -spirv-tools- - requires "libSPIRV-Tools-2023_2- = " + requires "libSPIRV-Tools-2023_3_rc1- = " diff --git a/spirv-tools.changes b/spirv-tools.changes index 4821eb6..ca7eaf5 100644 --- a/spirv-tools.changes +++ b/spirv-tools.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue May 30 22:01:25 UTC 2023 - Jan Engelhardt + +- 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 diff --git a/spirv-tools.spec b/spirv-tools.spec index 157c211..fcfda27 100644 --- a/spirv-tools.spec +++ b/spirv-tools.spec @@ -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 diff --git a/v2023.2.tar.gz b/v2023.2.tar.gz deleted file mode 100644 index 464133c..0000000 --- a/v2023.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7416cc8a98a10c32bacc36a39930b0c5b2a484963df5d68f388ed7ffee1faad3 -size 3101345 diff --git a/v2023.3.rc1.tar.gz b/v2023.3.rc1.tar.gz new file mode 100644 index 0000000..a0d20a1 --- /dev/null +++ b/v2023.3.rc1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:117c9b41ac89a6a1df7656cf7eb795b67d0460d7f11ce1120742f59f851026b4 +size 3112300