10 Commits

Author SHA256 Message Date
19c0e77d67 Sync changes to SLFO-1.2 branch 2025-08-20 13:33:58 +02:00
2d817a234e Accepting request 1231577 from X11:Wayland
- Update to release 2024.4~rc2

OBS-URL: https://build.opensuse.org/request/show/1231577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-tools?expand=0&rev=47
2024-12-18 19:08:41 +00:00
OBS User unknown
48534698d0 [info=aae3b7f43c6c579079d06523fe5ec101506338f9512020604a4459b40c46044e]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=117
2024-12-16 20:04:21 +00:00
OBS User unknown
8e4d8a597c [info=ec43b0d272237683ab298d0714129eb0f8c7a42a8048fd9c778d3878f4ccaf78]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=116
2024-12-15 21:02:33 +00:00
6f5f3f6f60 Accepting request 1206398 from X11:Wayland
- Update to release 2024.4~rc1

OBS-URL: https://build.opensuse.org/request/show/1206398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-tools?expand=0&rev=46
2024-10-09 20:03:20 +00:00
OBS User unknown
f8f8ef874a [info=b5d4e85baaf350f6da9fc1b6035f0200120a97da30de74a0aa766bc98d5562f6]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=115
2024-10-08 20:00:25 +00:00
OBS User unknown
03897698c9 [info=1cffec9d73a474b19ad5032867a7d4bdb3c3a1ae4fc44bd2fbf0cc667e04af79]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=114
2024-10-08 16:23:39 +00:00
a2d44f5b74 Accepting request 1189190 from X11:Wayland
- Update to release 2024.3

OBS-URL: https://build.opensuse.org/request/show/1189190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-tools?expand=0&rev=45
2024-07-24 13:29:33 +00:00
23bbe892a8 [info=31778905711a6e493dda38e6848d43bd5aa8059ce73d9dcd5197703f84f6cd79]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=113
2024-07-03 07:18:32 +00:00
36fdd980ae - Update to release 2024.3
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=112
2024-06-26 00:21:52 +00:00
6 changed files with 51 additions and 110 deletions

View File

@@ -1,4 +1,4 @@
libSPIRV-Tools-2025_5_rc1
libSPIRV-Tools-2025_1_rc1
spirv-tools-devel
requires -spirv-tools-<targettype>
requires "libSPIRV-Tools-2025_5_rc1-<targettype> = <version>"
requires "libSPIRV-Tools-2025_1_rc1-<targettype> = <version>"

View File

@@ -1,53 +1,3 @@
-------------------------------------------------------------------
Tue Dec 9 23:33:26 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.5~rc1 (SDK-1.4.335.0)
* Add as/dis support for Arm.MotionEngine.100 extended
instruction set.
* spirv-opt: Add a folding rule for `OpBitReverse` and fix
`OpBitCast` to support lower to higher bit conversions.
* spirv-opt: Add basic support for graphs.
* Adding folding rules for commutive bitwise operations (xor/or/and).
* spirv-opt: Fix constant folding for `OpBitcast` on signed integers.
-------------------------------------------------------------------
Tue Oct 7 10:09:49 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.4
* No changes, just version bump
-------------------------------------------------------------------
Tue Sep 23 10:43:03 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.4~rc1
* Add support for SPV_INTEL_function_variants, SPV_ARM_graph,
SPV_INTEL_inline_assembly,
SPV_QCOM_cooperative_matrix_conversion
* Add BFloat16 encoding support
* Add support for OpTypeGraphARM and tensors to type manager
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package spirv-tools
#
# Copyright (c) 2025 SUSE LLC and contributors
# 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,7 +17,7 @@
%define _lto_cflags %nil
%define lname libSPIRV-Tools-2025_5_rc1
%define lname libSPIRV-Tools-2025_1_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
@@ -26,13 +26,13 @@
%endif
Name: spirv-tools
Version: 2025.5~rc1
Version: 2025.1~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/v2025.5.rc1.tar.gz
Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v2025.1.rc1.tar.gz
Source9: baselibs.conf
Patch1: ver.diff
BuildRequires: bison
@@ -42,7 +42,7 @@ BuildRequires: gcc%{?gcc_version}-c++ >= 9
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: spirv-headers >= 1.6.4+sdk335
BuildRequires: spirv-headers >= 1.6.4+sdk309
%description
The package includes an assembler, binary module parser,
@@ -70,7 +70,7 @@ validator, and is used in the standalone tools whilst also enabling
integration into other code bases directly.
%prep
%autosetup -p1 -n SPIRV-Tools-2025.5.rc1
%autosetup -p1 -n SPIRV-Tools-2025.1.rc1
find . -type f -name CMakeLists.txt -exec \
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt {} +

BIN
v2025.1.rc1.tar.gz LFS Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -4,49 +4,40 @@ Date: 2016-06-13 11:46:16.846841814 +0200
Unversioned libraries suck!
---
source/CMakeLists.txt | 4 +++-
source/CMakeLists.txt | 2 ++
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, 9 insertions(+), 1 deletion(-)
7 files changed, 8 insertions(+)
Index: SPIRV-Tools-2025.4.rc1/source/CMakeLists.txt
Index: SPIRV-Tools-sdk-1.3.216.0/source/CMakeLists.txt
===================================================================
--- SPIRV-Tools-2025.4.rc1.orig/source/CMakeLists.txt
+++ SPIRV-Tools-2025.4.rc1/source/CMakeLists.txt
@@ -344,6 +344,7 @@ if (SPIRV_TOOLS_USE_MIMALLOC)
endif()
--- 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_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
@@ -356,7 +357,7 @@ if(SPIRV_TOOLS_BUILD_STATIC)
endif()
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.
@@ -373,6 +374,7 @@ else()
target_link_libraries(${SPIRV_TOOLS} PRIVATE mimalloc-static)
endif()
spirv_tools_default_target_options(${SPIRV_TOOLS})
@@ -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@")
spirv_tools_default_target_options(${SPIRV_TOOLS})
set(SPIRV_TOOLS_TARGETS ${SPIRV_TOOLS} ${SPIRV_TOOLS}-shared)
endif()
Index: SPIRV-Tools-2025.4.rc1/source/diff/CMakeLists.txt
Index: SPIRV-Tools-sdk-1.3.216.0/source/diff/CMakeLists.txt
===================================================================
--- SPIRV-Tools-2025.4.rc1.orig/source/diff/CMakeLists.txt
+++ SPIRV-Tools-2025.4.rc1/source/diff/CMakeLists.txt
@@ -44,6 +44,7 @@ target_link_libraries(SPIRV-Tools-diff
--- 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
PUBLIC SPIRV-Tools-opt)
set_property(TARGET SPIRV-Tools-diff PROPERTY FOLDER "SPIRV-Tools libraries")
@@ -54,34 +45,34 @@ Index: SPIRV-Tools-2025.4.rc1/source/diff/CMakeLists.txt
spvtools_check_symbol_exports(SPIRV-Tools-diff)
if(ENABLE_SPIRV_TOOLS_INSTALL)
Index: SPIRV-Tools-2025.4.rc1/source/fuzz/CMakeLists.txt
Index: SPIRV-Tools-sdk-1.3.216.0/source/fuzz/CMakeLists.txt
===================================================================
--- SPIRV-Tools-2025.4.rc1.orig/source/fuzz/CMakeLists.txt
+++ SPIRV-Tools-2025.4.rc1/source/fuzz/CMakeLists.txt
@@ -443,6 +443,7 @@ if(SPIRV_BUILD_FUZZER)
endif()
--- 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)
add_library(SPIRV-Tools-fuzz ${SPIRV_TOOLS_FUZZ_SOURCES})
+ set_target_properties(SPIRV-Tools-fuzz PROPERTIES OUTPUT_NAME "SPIRV-Tools-fuzz-@PACKAGE_VERSION@")
if (SPIRV_TOOLS_USE_MIMALLOC AND (NOT SPIRV_TOOLS_BUILD_STATIC OR SPIRV_TOOLS_USE_MIMALLOC_IN_STATIC_BUILD))
target_link_libraries(SPIRV-Tools-fuzz PRIVATE mimalloc-static)
Index: SPIRV-Tools-2025.4.rc1/source/link/CMakeLists.txt
spvtools_default_compile_options(SPIRV-Tools-fuzz)
Index: SPIRV-Tools-sdk-1.3.216.0/source/link/CMakeLists.txt
===================================================================
--- SPIRV-Tools-2025.4.rc1.orig/source/link/CMakeLists.txt
+++ SPIRV-Tools-2025.4.rc1/source/link/CMakeLists.txt
@@ -15,6 +15,7 @@ add_library(SPIRV-Tools-link ${SPIRV_TOO
fnvar.cpp
--- SPIRV-Tools-sdk-1.3.216.0.orig/source/link/CMakeLists.txt
+++ SPIRV-Tools-sdk-1.3.216.0/source/link/CMakeLists.txt
@@ -14,6 +14,7 @@
add_library(SPIRV-Tools-link ${SPIRV_TOOLS_LIBRARY_TYPE}
linker.cpp
)
+set_target_properties(SPIRV-Tools-link PROPERTIES OUTPUT_NAME "SPIRV-Tools-link-@PACKAGE_VERSION@")
spvtools_default_compile_options(SPIRV-Tools-link)
target_include_directories(SPIRV-Tools-link
Index: SPIRV-Tools-2025.4.rc1/source/lint/CMakeLists.txt
Index: SPIRV-Tools-sdk-1.3.216.0/source/lint/CMakeLists.txt
===================================================================
--- SPIRV-Tools-2025.4.rc1.orig/source/lint/CMakeLists.txt
+++ SPIRV-Tools-2025.4.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
@@ -27,6 +27,7 @@ endif()
add_library(SPIRV-Tools-lint ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_LINT_SOURCES})
@@ -90,22 +81,22 @@ Index: SPIRV-Tools-2025.4.rc1/source/lint/CMakeLists.txt
spvtools_default_compile_options(SPIRV-Tools-lint)
target_include_directories(SPIRV-Tools-lint
PUBLIC
Index: SPIRV-Tools-2025.4.rc1/source/opt/CMakeLists.txt
Index: SPIRV-Tools-sdk-1.3.216.0/source/opt/CMakeLists.txt
===================================================================
--- SPIRV-Tools-2025.4.rc1.orig/source/opt/CMakeLists.txt
+++ SPIRV-Tools-2025.4.rc1/source/opt/CMakeLists.txt
@@ -272,6 +272,7 @@ if (SPIRV_TOOLS_USE_MIMALLOC AND (NOT SP
target_link_libraries(SPIRV-Tools-opt PRIVATE mimalloc-static)
endif()
--- 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})
+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-2025.4.rc1/source/reduce/CMakeLists.txt
Index: SPIRV-Tools-sdk-1.3.216.0/source/reduce/CMakeLists.txt
===================================================================
--- SPIRV-Tools-2025.4.rc1.orig/source/reduce/CMakeLists.txt
+++ SPIRV-Tools-2025.4.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
@@ -92,6 +92,7 @@ target_include_directories(SPIRV-Tools-r
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
PRIVATE ${spirv-tools_BINARY_DIR}