1
0
forked from pool/spirv-tools

- Update to release 2021.4

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=75
This commit is contained in:
Jan Engelhardt 2021-11-11 20:08:23 +00:00 committed by Git OBS Bridge
parent 8a8ec3f41b
commit 4f705834b5
6 changed files with 25 additions and 16 deletions

View File

@ -1,4 +1,4 @@
libSPIRV-Tools-suse22
libSPIRV-Tools-suse23
spirv-tools-devel
requires -spirv-tools-<targettype>
requires "libSPIRV-Tools-suse22-<targettype> = <version>"
requires "libSPIRV-Tools-suse23-<targettype> = <version>"

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Nov 11 19:40:52 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2021.4
* Improve decoration validation
* Add spirv-opt pass to replace descriptor accesses based on
variable indices
* Do not fold snegate feeding sdiv
-------------------------------------------------------------------
Mon Sep 6 05:13:36 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,10 +17,10 @@
%define _lto_cflags %nil
%define lname libSPIRV-Tools-suse22
%define lname libSPIRV-Tools-suse23
Name: spirv-tools
Version: 2021.3
Version: 2021.4
Release: 0
Summary: API and commands for processing SPIR-V modules
License: Apache-2.0
@ -37,7 +37,7 @@ BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: spirv-headers >= 1.5.4.g106
BuildRequires: spirv-headers >= 1.5.5.g9
%description
The package includes an assembler, binary module parser,

View File

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

3
v2021.4.tar.gz Normal file
View File

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

View File

@ -20,7 +20,7 @@ Index: SPIRV-Tools-2021.3/source/CMakeLists.txt
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 SOVERSION suse22)
+set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse23)
target_compile_definitions(${SPIRV_TOOLS}-shared
PRIVATE SPIRV_TOOLS_IMPLEMENTATION
PUBLIC SPIRV_TOOLS_SHAREDLIB
@ -28,7 +28,7 @@ Index: SPIRV-Tools-2021.3/source/CMakeLists.txt
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 SOVERSION suse22)
+ set_target_properties(${SPIRV_TOOLS}-static PROPERTIES SOVERSION suse23)
# 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.
@ -36,7 +36,7 @@ Index: SPIRV-Tools-2021.3/source/CMakeLists.txt
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 SOVERSION suse22)
+ set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse23)
spirv_tools_default_target_options(${SPIRV_TOOLS})
set(SPIRV_TOOLS_TARGETS ${SPIRV_TOOLS} ${SPIRV_TOOLS}-shared)
endif()
@ -48,7 +48,7 @@ Index: SPIRV-Tools-2021.3/source/fuzz/CMakeLists.txt
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 SOVERSION suse22)
+ set_target_properties(SPIRV-Tools-fuzz PROPERTIES SOVERSION suse23)
spvtools_default_compile_options(SPIRV-Tools-fuzz)
@ -60,7 +60,7 @@ Index: SPIRV-Tools-2021.3/source/link/CMakeLists.txt
add_library(SPIRV-Tools-link ${SPIRV_TOOLS_LIBRARY_TYPE}
linker.cpp
)
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse22)
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse23)
spvtools_default_compile_options(SPIRV-Tools-link)
target_include_directories(SPIRV-Tools-link
@ -72,7 +72,7 @@ Index: SPIRV-Tools-2021.3/source/lint/CMakeLists.txt
add_library(SPIRV-Tools-lint ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_LINT_SOURCES})
+set_target_properties(SPIRV-Tools-lint PROPERTIES SOVERSION suse22)
+set_target_properties(SPIRV-Tools-lint PROPERTIES SOVERSION suse23)
spvtools_default_compile_options(SPIRV-Tools-lint)
target_include_directories(SPIRV-Tools-lint
PUBLIC
@ -84,7 +84,7 @@ Index: SPIRV-Tools-2021.3/source/opt/CMakeLists.txt
add_library(SPIRV-Tools-opt ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_OPT_SOURCES})
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse22)
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse23)
spvtools_default_compile_options(SPIRV-Tools-opt)
target_include_directories(SPIRV-Tools-opt
PUBLIC
@ -96,7 +96,7 @@ Index: SPIRV-Tools-2021.3/source/reduce/CMakeLists.txt
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
PRIVATE ${spirv-tools_BINARY_DIR}
)
+set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse22)
+set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse23)
# The reducer reuses a lot of functionality from the SPIRV-Tools library.
target_link_libraries(SPIRV-Tools-reduce
PUBLIC ${SPIRV_TOOLS_FULL_VISIBILITY}