- Update to release 2019.5

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=44
This commit is contained in:
Jan Engelhardt 2019-12-12 21:56:29 +00:00 committed by Git OBS Bridge
parent cdf19f7dd2
commit 3a310bf130
7 changed files with 39 additions and 19 deletions

View File

@ -3,9 +3,9 @@
<param name="scm">git</param>
<param name="url">https://github.com/KhronosGroup/SPIRV-Tools</param>
<param name="filename">spirv-tools</param>
<param name="revision">dc59b4b0</param>
<param name="parent-tag">22ce39c8</param>
<param name="versionformat">2019.5~git@TAG_OFFSET@</param>
<param name="revision">v2019.5</param>
<param name="parent-tag">v2019.5</param>
<param name="versionformat">2019.5</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

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

View File

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

View File

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

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Thu Dec 12 21:20:47 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2019.5
* Re-enable OpReadClockKHR validation
* spirv-fuzz: simplify transformation for replacing an id with
a synonym
* spirv-fuzz: Eliminate spurious semicolons
* Update Offset to ConstOffset bitmask if operand is constant
* Validate array stride does not cause overlap
* Fix operand access of composite in upgrade memory model
* Kill the id-to-func map after wrap-opkill
* Handle OpPhi with no in operands in value numbering
* Handle unreachable block when computing register pressure
* spirv-fuzz: Improve debugging facilities
* Validate nested constructs
* spirv-fuzz: Use validator to check break/continue dominance
conditions
* spirv-fuzz: function outlining fuzzer pass
-------------------------------------------------------------------
Thu Nov 7 09:03:03 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package spirv-tools
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,11 +16,11 @@
#
%define version_unconverted 2019.5~git157
%define lname libSPIRV-Tools-suse14
%define version_unconverted 2019.5
%define lname libSPIRV-Tools-suse15
Name: spirv-tools
Version: 2019.5~git157
Version: 2019.5
Release: 0
Summary: API and commands for processing SPIR-V modules
License: Apache-2.0
@ -91,7 +91,7 @@ make %{?_smp_mflags}
%_libdir/libSPIRV-Tools-shared.so.*
%files devel
%_prefix/lib/cmake/
%_libdir/cmake/
%_libdir/libSPIRV-Tools.so
%_libdir/libSPIRV-Tools-link.so
%_libdir/libSPIRV-Tools-opt.so

View File

@ -19,7 +19,7 @@ Index: spirv-tools-2019.5~git157/source/CMakeLists.txt
spvtools_pch(SPIRV_SOURCES pch_source)
add_library(${SPIRV_TOOLS} ${SPIRV_SOURCES})
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse14)
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse15)
spvtools_default_compile_options(${SPIRV_TOOLS})
target_include_directories(${SPIRV_TOOLS}
PUBLIC
@ -27,7 +27,7 @@ Index: spirv-tools-2019.5~git157/source/CMakeLists.txt
add_dependencies( ${SPIRV_TOOLS} core_tables enum_string_mapping extinst_tables )
add_library(${SPIRV_TOOLS}-shared SHARED ${SPIRV_SOURCES})
+set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse14)
+set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse15)
spvtools_default_compile_options(${SPIRV_TOOLS}-shared)
target_include_directories(${SPIRV_TOOLS}-shared
PUBLIC
@ -39,7 +39,7 @@ Index: spirv-tools-2019.5~git157/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 suse14)
+ set_target_properties(SPIRV-Tools-fuzz PROPERTIES SOVERSION suse15)
spvtools_default_compile_options(SPIRV-Tools-fuzz)
target_compile_definitions(SPIRV-Tools-fuzz PUBLIC -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_USE_UNALIGNED=0)
@ -51,7 +51,7 @@ Index: spirv-tools-2019.5~git157/source/link/CMakeLists.txt
add_library(SPIRV-Tools-link
linker.cpp
)
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse14)
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse15)
spvtools_default_compile_options(SPIRV-Tools-link)
target_include_directories(SPIRV-Tools-link
@ -63,7 +63,7 @@ Index: spirv-tools-2019.5~git157/source/opt/CMakeLists.txt
add_library(SPIRV-Tools-opt ${SPIRV_TOOLS_OPT_SOURCES})
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse14)
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse15)
spvtools_default_compile_options(SPIRV-Tools-opt)
target_include_directories(SPIRV-Tools-opt
PUBLIC
@ -75,7 +75,7 @@ Index: spirv-tools-2019.5~git157/source/reduce/CMakeLists.txt
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
PRIVATE ${spirv-tools_BINARY_DIR}
)
+set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse14)
+set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse15)
# The reducer reuses a lot of functionality from the SPIRV-Tools library.
target_link_libraries(SPIRV-Tools-reduce
PUBLIC ${SPIRV_TOOLS}