Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
50c1b307a1 | |||
4b13606fa8 | |||
9a402415e8 | |||
74343b229d | |||
|
de737fc8de | ||
aae3b7f43c | |||
b5d4e85baa | |||
3177890571 |
@@ -1,4 +1,4 @@
|
||||
libSPIRV-Tools-2024_1
|
||||
libSPIRV-Tools-2025_3_rc1
|
||||
spirv-tools-devel
|
||||
requires -spirv-tools-<targettype>
|
||||
requires "libSPIRV-Tools-2024_1-<targettype> = <version>"
|
||||
requires "libSPIRV-Tools-2025_3_rc1-<targettype> = <version>"
|
||||
|
@@ -1,3 +1,95 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 27 16:13:54 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2025.3~rc1
|
||||
* Add spvtools::utils::Span, spvtools::utils::IndexRange
|
||||
* Add instruction printingClass value to InstructionDesc
|
||||
* Add support for SPV_ARM_tensors
|
||||
* Add initial support for SPV_EXT_float8
|
||||
* Add validation support for MeshEXT
|
||||
* Add minimal as/dis support for TOSA.001000.1 extended
|
||||
instruction set
|
||||
* Add --canonicalize-ids pass
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 25 22:36:50 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2025.2~rc2
|
||||
* Add SPV_KHR_bfloat16 support
|
||||
* Support scalar replacement of large structs
|
||||
* Support optimization of OpCopyLogical
|
||||
* Add QuadControlKHR to trim pass and allow lists
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 13 16:56:20 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Bump BuildRequires to match spirv-headers
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 12 16:37:33 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2025.1~rc1
|
||||
* Added OpImageSampleFootprintNV to IsAllowedSampledImageOperand
|
||||
* spirv-val: Validate zero product workgroup size
|
||||
* Added EXT_mesh_shader validation support
|
||||
* Added support for SPV_INTEL_subgroup_matrix_multiply_accumulate
|
||||
* Added SPV_AMDX_shader_enqueue version 2 support
|
||||
* Now validates SPV_NV_cooperative_vector
|
||||
* Added validation for SPV_NV_cluster_acceleration_structure,
|
||||
SPV_NV_linear_swept_spheres
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 6 14:18:19 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Build with GCC 13 on Leap/SLES 15 in the hope to fix Mesa build
|
||||
(bsc#1238713)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 15 18:56:06 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.4~rc2
|
||||
* General:
|
||||
* Add FPEncoding operand type. (#5726)
|
||||
* Support SPV_KHR_untyped_pointers, SPV_INTEL_global_variable_host_access,
|
||||
SPV_KHR_compute_shader_derivative
|
||||
* Vulkan 1.4 support (#5899)
|
||||
* Optimizer: Add knowledge of cooperative matrice
|
||||
- Delete 0001-SPV_KHR_untyped_pointers-Fix-verification-for-OpenCL.patch
|
||||
(merged)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 8 16:12:56 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.4~rc1
|
||||
* Add knowledge of cooperative matrices
|
||||
* Add FPEncoding operand type
|
||||
* Allow for empty list of enums for an operand
|
||||
* Support SPV_KHR_untyped_pointers
|
||||
* properly handle the load and store cache control operand types
|
||||
* spirv-link: allow linking functions with different pointer arguments
|
||||
* Allow ArrayStride on untyped pointers
|
||||
* [OPT] Add SPV_KHR_ray_tracing_position_fetch to allow lists
|
||||
* Validate presence of Stride operand to OpCooperativeMatrix{Load,Store}KHR
|
||||
* [SPV_KHR_untyped_pointers] Fix verification of vload/vstore OpenCL.std instructions
|
||||
* spirv-opt: make traversal deterministic
|
||||
* add support for SPV_INTEL_global_variable_host_access
|
||||
- Add 0001-SPV_KHR_untyped_pointers-Fix-verification-for-OpenCL.patch
|
||||
for shaderc.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 25 20:47:23 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.3
|
||||
* Optimizer:
|
||||
* Do not fold MUL and ADDs to generate FMAs
|
||||
* Add AliasedPointer decoration
|
||||
* Add support for vulkan-shader-profiler external passes
|
||||
* Validator:
|
||||
* Add support for OpExtInstWithForwardRefs
|
||||
* Disassembler:
|
||||
* Add decorations to comments
|
||||
* Add --nested-indent and --reorder-blocks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 12 18:57:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package spirv-tools
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,29 +17,32 @@
|
||||
|
||||
|
||||
%define _lto_cflags %nil
|
||||
%define lname libSPIRV-Tools-2024_1
|
||||
%define lname libSPIRV-Tools-2025_3_rc1
|
||||
|
||||
# Leap 15 and SLES 15 defaults to GCC 7, which does not have stable C++17 ABI.
|
||||
# See https://bugzilla.suse.com/show_bug.cgi?id=1235697
|
||||
%if 0%{?suse_version} < 1600
|
||||
%define gcc_version 13
|
||||
%endif
|
||||
|
||||
Name: spirv-tools
|
||||
Version: 2024.1
|
||||
Version: 2025.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/v2024.1.tar.gz
|
||||
Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v2025.3.rc1.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: gcc%{?gcc_version} >= 9
|
||||
BuildRequires: gcc%{?gcc_version}-c++ >= 9
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: spirv-headers >= 1.6.1+sdk275+git19
|
||||
BuildRequires: spirv-headers >= 1.6.4+sdk313+git19
|
||||
|
||||
%description
|
||||
The package includes an assembler, binary module parser,
|
||||
@@ -67,15 +70,14 @@ validator, and is used in the standalone tools whilst also enabling
|
||||
integration into other code bases directly.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n SPIRV-Tools-2024.1
|
||||
%autosetup -p1 -n SPIRV-Tools-2025.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" \
|
||||
-DCMAKE_C_COMPILER="gcc%{?gcc_version:-%{gcc_version}}" \
|
||||
-DCMAKE_CXX_COMPILER="g++%{?gcc_version:-%{gcc_version}}" \
|
||||
-DSPIRV_TOOLS_BUILD_STATIC:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON
|
||||
%cmake_build
|
||||
|
||||
@@ -86,8 +88,7 @@ for i in "" "-diff" "-link" "-lint" "-opt" "-reduce" "-shared"; do
|
||||
ln -s "libSPIRV-Tools$i-%version.so" "%buildroot/%_libdir/libSPIRV-Tools$i.so"
|
||||
done
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %lname
|
||||
|
||||
%files
|
||||
%_bindir/spirv-*
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:137780e2a8b5c722888f9ec0fb553e6e92f38a0a5c7fcdad9b715152448b9d82
|
||||
size 3171146
|
BIN
v2025.3.rc1.tar.gz
(Stored with Git LFS)
Normal file
BIN
v2025.3.rc1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
85
ver.diff
85
ver.diff
@@ -4,40 +4,49 @@ Date: 2016-06-13 11:46:16.846841814 +0200
|
||||
Unversioned libraries suck!
|
||||
|
||||
---
|
||||
source/CMakeLists.txt | 2 ++
|
||||
source/CMakeLists.txt | 4 +++-
|
||||
source/diff/CMakeLists.txt | 1 +
|
||||
source/fuzz/CMakeLists.txt | 1 +
|
||||
source/link/CMakeLists.txt | 1 +
|
||||
source/lint/CMakeLists.txt | 1 +
|
||||
source/opt/CMakeLists.txt | 1 +
|
||||
source/reduce/CMakeLists.txt | 1 +
|
||||
7 files changed, 8 insertions(+)
|
||||
7 files changed, 9 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: SPIRV-Tools-sdk-1.3.216.0/source/CMakeLists.txt
|
||||
Index: SPIRV-Tools-2025.3.rc1/source/CMakeLists.txt
|
||||
===================================================================
|
||||
--- SPIRV-Tools-sdk-1.3.216.0.orig/source/CMakeLists.txt
|
||||
+++ SPIRV-Tools-sdk-1.3.216.0/source/CMakeLists.txt
|
||||
@@ -377,6 +377,7 @@ endfunction()
|
||||
add_library(${SPIRV_TOOLS}-shared SHARED ${SPIRV_SOURCES})
|
||||
--- SPIRV-Tools-2025.3.rc1.orig/source/CMakeLists.txt
|
||||
+++ SPIRV-Tools-2025.3.rc1/source/CMakeLists.txt
|
||||
@@ -344,6 +344,7 @@ if (SPIRV_TOOLS_USE_MIMALLOC)
|
||||
endif()
|
||||
spirv_tools_default_target_options(${SPIRV_TOOLS}-shared)
|
||||
set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES CXX_VISIBILITY_PRESET hidden)
|
||||
+set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES OUTPUT_NAME "${SPIRV_TOOLS}-shared-@PACKAGE_VERSION@")
|
||||
target_compile_definitions(${SPIRV_TOOLS}-shared
|
||||
PRIVATE SPIRV_TOOLS_IMPLEMENTATION
|
||||
PUBLIC SPIRV_TOOLS_SHAREDLIB
|
||||
@@ -399,6 +400,7 @@ if(SPIRV_TOOLS_BUILD_STATIC)
|
||||
set(SPIRV_TOOLS_TARGETS ${SPIRV_TOOLS}-static ${SPIRV_TOOLS}-shared)
|
||||
else()
|
||||
add_library(${SPIRV_TOOLS} ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_SOURCES})
|
||||
+ set_target_properties(${SPIRV_TOOLS} PROPERTIES OUTPUT_NAME "${SPIRV_TOOLS}-@PACKAGE_VERSION@")
|
||||
@@ -353,7 +354,7 @@ if(SPIRV_TOOLS_BUILD_STATIC)
|
||||
add_library(${SPIRV_TOOLS}-static STATIC ${SPIRV_SOURCES})
|
||||
spirv_tools_default_target_options(${SPIRV_TOOLS}-static)
|
||||
# The static target does not have the '-static' suffix.
|
||||
- set_target_properties(${SPIRV_TOOLS}-static PROPERTIES OUTPUT_NAME "${SPIRV_TOOLS}")
|
||||
+ set_target_properties(${SPIRV_TOOLS}-static PROPERTIES OUTPUT_NAME "${SPIRV_TOOLS}-@PACKAGE_VERSION@")
|
||||
|
||||
# Create the "${SPIRV_TOOLS}" target as an alias to either "${SPIRV_TOOLS}-static"
|
||||
# or "${SPIRV_TOOLS}-shared" depending on the value of BUILD_SHARED_LIBS.
|
||||
@@ -370,6 +371,7 @@ else()
|
||||
target_link_libraries(${SPIRV_TOOLS} PRIVATE mimalloc-static)
|
||||
endif()
|
||||
spirv_tools_default_target_options(${SPIRV_TOOLS})
|
||||
+ set_target_properties(${SPIRV_TOOLS} PROPERTIES OUTPUT_NAME "${SPIRV_TOOLS}-@PACKAGE_VERSION@")
|
||||
set(SPIRV_TOOLS_TARGETS ${SPIRV_TOOLS} ${SPIRV_TOOLS}-shared)
|
||||
endif()
|
||||
Index: SPIRV-Tools-sdk-1.3.216.0/source/diff/CMakeLists.txt
|
||||
|
||||
Index: SPIRV-Tools-2025.3.rc1/source/diff/CMakeLists.txt
|
||||
===================================================================
|
||||
--- SPIRV-Tools-sdk-1.3.216.0.orig/source/diff/CMakeLists.txt
|
||||
+++ SPIRV-Tools-sdk-1.3.216.0/source/diff/CMakeLists.txt
|
||||
@@ -36,6 +36,7 @@ target_link_libraries(SPIRV-Tools-diff
|
||||
--- SPIRV-Tools-2025.3.rc1.orig/source/diff/CMakeLists.txt
|
||||
+++ SPIRV-Tools-2025.3.rc1/source/diff/CMakeLists.txt
|
||||
@@ -44,6 +44,7 @@ target_link_libraries(SPIRV-Tools-diff
|
||||
PUBLIC SPIRV-Tools-opt)
|
||||
|
||||
set_property(TARGET SPIRV-Tools-diff PROPERTY FOLDER "SPIRV-Tools libraries")
|
||||
@@ -45,22 +54,22 @@ Index: SPIRV-Tools-sdk-1.3.216.0/source/diff/CMakeLists.txt
|
||||
spvtools_check_symbol_exports(SPIRV-Tools-diff)
|
||||
|
||||
if(ENABLE_SPIRV_TOOLS_INSTALL)
|
||||
Index: SPIRV-Tools-sdk-1.3.216.0/source/fuzz/CMakeLists.txt
|
||||
Index: SPIRV-Tools-2025.3.rc1/source/fuzz/CMakeLists.txt
|
||||
===================================================================
|
||||
--- SPIRV-Tools-sdk-1.3.216.0.orig/source/fuzz/CMakeLists.txt
|
||||
+++ SPIRV-Tools-sdk-1.3.216.0/source/fuzz/CMakeLists.txt
|
||||
@@ -439,6 +439,7 @@ if(SPIRV_BUILD_FUZZER)
|
||||
spvtools_pch(SPIRV_TOOLS_FUZZ_SOURCES pch_source_fuzz)
|
||||
--- SPIRV-Tools-2025.3.rc1.orig/source/fuzz/CMakeLists.txt
|
||||
+++ SPIRV-Tools-2025.3.rc1/source/fuzz/CMakeLists.txt
|
||||
@@ -443,6 +443,7 @@ if(SPIRV_BUILD_FUZZER)
|
||||
endif()
|
||||
|
||||
add_library(SPIRV-Tools-fuzz ${SPIRV_TOOLS_FUZZ_SOURCES})
|
||||
+ set_target_properties(SPIRV-Tools-fuzz PROPERTIES OUTPUT_NAME "SPIRV-Tools-fuzz-@PACKAGE_VERSION@")
|
||||
|
||||
spvtools_default_compile_options(SPIRV-Tools-fuzz)
|
||||
|
||||
Index: SPIRV-Tools-sdk-1.3.216.0/source/link/CMakeLists.txt
|
||||
if (SPIRV_TOOLS_USE_MIMALLOC AND NOT SPIRV_TOOLS_BUILD_STATIC)
|
||||
target_link_libraries(SPIRV-Tools-fuzz PRIVATE mimalloc-static)
|
||||
Index: SPIRV-Tools-2025.3.rc1/source/link/CMakeLists.txt
|
||||
===================================================================
|
||||
--- SPIRV-Tools-sdk-1.3.216.0.orig/source/link/CMakeLists.txt
|
||||
+++ SPIRV-Tools-sdk-1.3.216.0/source/link/CMakeLists.txt
|
||||
--- SPIRV-Tools-2025.3.rc1.orig/source/link/CMakeLists.txt
|
||||
+++ SPIRV-Tools-2025.3.rc1/source/link/CMakeLists.txt
|
||||
@@ -14,6 +14,7 @@
|
||||
add_library(SPIRV-Tools-link ${SPIRV_TOOLS_LIBRARY_TYPE}
|
||||
linker.cpp
|
||||
@@ -69,10 +78,10 @@ Index: SPIRV-Tools-sdk-1.3.216.0/source/link/CMakeLists.txt
|
||||
|
||||
spvtools_default_compile_options(SPIRV-Tools-link)
|
||||
target_include_directories(SPIRV-Tools-link
|
||||
Index: SPIRV-Tools-sdk-1.3.216.0/source/lint/CMakeLists.txt
|
||||
Index: SPIRV-Tools-2025.3.rc1/source/lint/CMakeLists.txt
|
||||
===================================================================
|
||||
--- SPIRV-Tools-sdk-1.3.216.0.orig/source/lint/CMakeLists.txt
|
||||
+++ SPIRV-Tools-sdk-1.3.216.0/source/lint/CMakeLists.txt
|
||||
--- SPIRV-Tools-2025.3.rc1.orig/source/lint/CMakeLists.txt
|
||||
+++ SPIRV-Tools-2025.3.rc1/source/lint/CMakeLists.txt
|
||||
@@ -27,6 +27,7 @@ endif()
|
||||
|
||||
add_library(SPIRV-Tools-lint ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_LINT_SOURCES})
|
||||
@@ -81,22 +90,22 @@ Index: SPIRV-Tools-sdk-1.3.216.0/source/lint/CMakeLists.txt
|
||||
spvtools_default_compile_options(SPIRV-Tools-lint)
|
||||
target_include_directories(SPIRV-Tools-lint
|
||||
PUBLIC
|
||||
Index: SPIRV-Tools-sdk-1.3.216.0/source/opt/CMakeLists.txt
|
||||
Index: SPIRV-Tools-2025.3.rc1/source/opt/CMakeLists.txt
|
||||
===================================================================
|
||||
--- SPIRV-Tools-sdk-1.3.216.0.orig/source/opt/CMakeLists.txt
|
||||
+++ SPIRV-Tools-sdk-1.3.216.0/source/opt/CMakeLists.txt
|
||||
@@ -249,6 +249,7 @@ spvtools_pch(SPIRV_TOOLS_OPT_SOURCES pch
|
||||
|
||||
add_library(SPIRV-Tools-opt ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_OPT_SOURCES})
|
||||
--- SPIRV-Tools-2025.3.rc1.orig/source/opt/CMakeLists.txt
|
||||
+++ SPIRV-Tools-2025.3.rc1/source/opt/CMakeLists.txt
|
||||
@@ -272,6 +272,7 @@ if (SPIRV_TOOLS_USE_MIMALLOC AND NOT SPI
|
||||
target_link_libraries(SPIRV-Tools-opt PRIVATE mimalloc-static)
|
||||
endif()
|
||||
|
||||
+set_target_properties(SPIRV-Tools-opt PROPERTIES OUTPUT_NAME "SPIRV-Tools-opt-@PACKAGE_VERSION@")
|
||||
spvtools_default_compile_options(SPIRV-Tools-opt)
|
||||
target_include_directories(SPIRV-Tools-opt
|
||||
PUBLIC
|
||||
Index: SPIRV-Tools-sdk-1.3.216.0/source/reduce/CMakeLists.txt
|
||||
Index: SPIRV-Tools-2025.3.rc1/source/reduce/CMakeLists.txt
|
||||
===================================================================
|
||||
--- SPIRV-Tools-sdk-1.3.216.0.orig/source/reduce/CMakeLists.txt
|
||||
+++ SPIRV-Tools-sdk-1.3.216.0/source/reduce/CMakeLists.txt
|
||||
--- SPIRV-Tools-2025.3.rc1.orig/source/reduce/CMakeLists.txt
|
||||
+++ SPIRV-Tools-2025.3.rc1/source/reduce/CMakeLists.txt
|
||||
@@ -92,6 +92,7 @@ target_include_directories(SPIRV-Tools-r
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||
PRIVATE ${spirv-tools_BINARY_DIR}
|
||||
|
Reference in New Issue
Block a user