1
0
forked from pool/spirv-tools

Accepting request 878324 from X11:Wayland

- Bump SONAME because of ABI change underneath [boo#1183350].
  This I had missed in the 2020.7 update.

join Staging:E

OBS-URL: https://build.opensuse.org/request/show/878324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-tools?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2021-03-12 12:31:57 +00:00 committed by Git OBS Bridge
commit d78a3fe319
6 changed files with 31 additions and 16 deletions

View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Mar 11 14:00:16 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Bump SONAME because of ABI change underneath [boo#1183350].
This I had missed in the 2020.7 update.
-------------------------------------------------------------------
Mon Mar 1 06:56:04 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2020.7
* Support pending Intel extensions
* Remove WebGPU support
* Validator: add Vulkan EXT builtins
* Optimizer: Run DCE when SPV_KHR_shader_clock is used
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 8 12:30:46 UTC 2020 - Jan Engelhardt <jengelh@inai.de> Tue Dec 8 12:30:46 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package spirv-tools # spec file for package spirv-tools
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,10 +17,10 @@
%define _lto_cflags %nil %define _lto_cflags %nil
%define lname libSPIRV-Tools-suse19 %define lname libSPIRV-Tools-suse20
Name: spirv-tools Name: spirv-tools
Version: 2020.6 Version: 2020.7
Release: 0 Release: 0
Summary: API and commands for processing SPIR-V modules Summary: API and commands for processing SPIR-V modules
License: Apache-2.0 License: Apache-2.0
@ -37,7 +37,7 @@ BuildRequires: gcc-c++
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: python3-base BuildRequires: python3-base
BuildRequires: python3-xml BuildRequires: python3-xml
BuildRequires: spirv-headers >= 1.5.3.g22 BuildRequires: spirv-headers >= 1.5.3.g32
%description %description
The package includes an assembler, binary module parser, The package includes an assembler, binary module parser,

View File

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

3
v2020.7.tar.gz Normal file
View File

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

View File

@ -19,7 +19,7 @@ Index: SPIRV-Tools-2020.6/source/CMakeLists.txt
add_library(${SPIRV_TOOLS}-shared SHARED ${SPIRV_SOURCES}) add_library(${SPIRV_TOOLS}-shared SHARED ${SPIRV_SOURCES})
spirv_tools_default_target_options(${SPIRV_TOOLS}-shared) 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 CXX_VISIBILITY_PRESET hidden)
+set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse19) +set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse20)
target_compile_definitions(${SPIRV_TOOLS}-shared target_compile_definitions(${SPIRV_TOOLS}-shared
PRIVATE SPIRV_TOOLS_IMPLEMENTATION PRIVATE SPIRV_TOOLS_IMPLEMENTATION
PUBLIC SPIRV_TOOLS_SHAREDLIB PUBLIC SPIRV_TOOLS_SHAREDLIB
@ -27,7 +27,7 @@ Index: SPIRV-Tools-2020.6/source/CMakeLists.txt
spirv_tools_default_target_options(${SPIRV_TOOLS}-static) spirv_tools_default_target_options(${SPIRV_TOOLS}-static)
# The static target does not have the '-static' suffix. # 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}")
+ set_target_properties(${SPIRV_TOOLS}-static PROPERTIES SOVERSION suse19) + set_target_properties(${SPIRV_TOOLS}-static PROPERTIES SOVERSION suse20)
# Create the "${SPIRV_TOOLS}" target as an alias to either "${SPIRV_TOOLS}-static" # 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. # or "${SPIRV_TOOLS}-shared" depending on the value of BUILD_SHARED_LIBS.
@ -35,7 +35,7 @@ Index: SPIRV-Tools-2020.6/source/CMakeLists.txt
set(SPIRV_TOOLS_TARGETS ${SPIRV_TOOLS}-static ${SPIRV_TOOLS}-shared) set(SPIRV_TOOLS_TARGETS ${SPIRV_TOOLS}-static ${SPIRV_TOOLS}-shared)
else() else()
add_library(${SPIRV_TOOLS} ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_SOURCES}) add_library(${SPIRV_TOOLS} ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_SOURCES})
+ set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse19) + set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse20)
spirv_tools_default_target_options(${SPIRV_TOOLS}) spirv_tools_default_target_options(${SPIRV_TOOLS})
set(SPIRV_TOOLS_TARGETS ${SPIRV_TOOLS} ${SPIRV_TOOLS}-shared) set(SPIRV_TOOLS_TARGETS ${SPIRV_TOOLS} ${SPIRV_TOOLS}-shared)
endif() endif()
@ -47,7 +47,7 @@ Index: SPIRV-Tools-2020.6/source/fuzz/CMakeLists.txt
spvtools_pch(SPIRV_TOOLS_FUZZ_SOURCES pch_source_fuzz) spvtools_pch(SPIRV_TOOLS_FUZZ_SOURCES pch_source_fuzz)
add_library(SPIRV-Tools-fuzz ${SPIRV_TOOLS_FUZZ_SOURCES}) add_library(SPIRV-Tools-fuzz ${SPIRV_TOOLS_FUZZ_SOURCES})
+ set_target_properties(SPIRV-Tools-fuzz PROPERTIES SOVERSION suse19) + set_target_properties(SPIRV-Tools-fuzz PROPERTIES SOVERSION suse20)
spvtools_default_compile_options(SPIRV-Tools-fuzz) spvtools_default_compile_options(SPIRV-Tools-fuzz)
@ -59,7 +59,7 @@ Index: SPIRV-Tools-2020.6/source/link/CMakeLists.txt
add_library(SPIRV-Tools-link ${SPIRV_TOOLS_LIBRARY_TYPE} add_library(SPIRV-Tools-link ${SPIRV_TOOLS_LIBRARY_TYPE}
linker.cpp linker.cpp
) )
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse19) +set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse20)
spvtools_default_compile_options(SPIRV-Tools-link) spvtools_default_compile_options(SPIRV-Tools-link)
target_include_directories(SPIRV-Tools-link target_include_directories(SPIRV-Tools-link
@ -71,7 +71,7 @@ Index: SPIRV-Tools-2020.6/source/opt/CMakeLists.txt
add_library(SPIRV-Tools-opt ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_OPT_SOURCES}) add_library(SPIRV-Tools-opt ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_OPT_SOURCES})
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse19) +set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse20)
spvtools_default_compile_options(SPIRV-Tools-opt) spvtools_default_compile_options(SPIRV-Tools-opt)
target_include_directories(SPIRV-Tools-opt target_include_directories(SPIRV-Tools-opt
PUBLIC PUBLIC
@ -83,7 +83,7 @@ Index: SPIRV-Tools-2020.6/source/reduce/CMakeLists.txt
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
PRIVATE ${spirv-tools_BINARY_DIR} PRIVATE ${spirv-tools_BINARY_DIR}
) )
+set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse19) +set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse20)
# The reducer reuses a lot of functionality from the SPIRV-Tools library. # The reducer reuses a lot of functionality from the SPIRV-Tools library.
target_link_libraries(SPIRV-Tools-reduce target_link_libraries(SPIRV-Tools-reduce
PUBLIC ${SPIRV_TOOLS_FULL_VISIBILITY} PUBLIC ${SPIRV_TOOLS_FULL_VISIBILITY}