Accepting request 515074 from X11:Wayland

- Update to new snapshot 2016.7~g145

OBS-URL: https://build.opensuse.org/request/show/515074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-tools?expand=0&rev=4
This commit is contained in:
Yuchen Lin 2017-08-08 09:59:42 +00:00 committed by Git OBS Bridge
commit 2d3b4a7c0f
7 changed files with 64 additions and 28 deletions

View File

@ -1 +1 @@
libSPIRV-Tools-suse2 libSPIRV-Tools-suse3

View File

@ -14,10 +14,10 @@ were ignored.
tools/io.h | 3 ++- tools/io.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-) 1 file changed, 2 insertions(+), 1 deletion(-)
Index: spirv-tools-2016.7~g24/tools/io.h Index: spirv-tools-2016.7~g135/tools/io.h
=================================================================== ===================================================================
--- spirv-tools-2016.7~g24.orig/tools/io.h --- spirv-tools-2016.7~g135.orig/tools/io.h
+++ spirv-tools-2016.7~g24/tools/io.h +++ spirv-tools-2016.7~g135/tools/io.h
@@ -38,7 +38,8 @@ bool ReadFile(const char* filename, cons @@ -38,7 +38,8 @@ bool ReadFile(const char* filename, cons
return false; return false;
} }

View File

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

View File

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

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Jul 18 09:01:25 UTC 2017 - jengelh@inai.de
- Update to new snapshot 2016.7~g145
* Validation of type decls for SPV_KHR_16bit_storage
* Allow using FPRoundingMode when see VK_KHR_16bit_storage
* Validator parses and registers OpExtension
* Validator checks if operands require extension
* Validator dissallows unsupported Vulkan capability
* Update capability tests for SPV_KHR_16bit_storage rev 7
* Support SPV_AMD_gcn_shader
* Add FlattenDecoration transform
* Validator support for Variable Pointer extension.
* Support SPV_KHR_storage_buffer_storage_class
* Add SPIR-V 1.2 support, for OpenCL 2.2
* Added extension SPV_VALIDATOR_ignore_type_decl_unique
* Add support for SPV AMD extensions
* MARK-V decoder supports extended instructions
* DeadBranchElim: Improve algorithm to only remove blocks with
no predecessors
* Opt: Add new size-reduction passes to usage message.
* Add multi-sequence move-to-front implementation.
* Add MemPass, move all shared functions to it.
* Add CommonUniformElim pass.
* Mem2Reg: Allow Image and Sampler types as base target types.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 20 15:48:52 UTC 2017 - jengelh@inai.de Mon Feb 20 15:48:52 UTC 2017 - jengelh@inai.de

View File

@ -16,11 +16,11 @@
# #
%define version_unconverted 2016.7~g28 %define version_unconverted 2016.7~g154
%define lname libSPIRV-Tools-suse2 %define lname libSPIRV-Tools-suse3
Name: spirv-tools Name: spirv-tools
Version: 2016.7~g28 Version: 2016.7~g154
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
@ -76,11 +76,6 @@ make %{?_smp_mflags}
%install %install
b="%buildroot" b="%buildroot"
%cmake_install %cmake_install
# duh..
if [ "%_lib" != lib ]; then
pushd "$b/%_prefix"
mv "lib" "%_lib"
fi
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
@ -93,11 +88,13 @@ fi
%files -n %lname %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libSPIRV-Tools.so.* %_libdir/libSPIRV-Tools.so.*
%_libdir/libSPIRV-Tools-comp.so.*
%_libdir/libSPIRV-Tools-opt.so.* %_libdir/libSPIRV-Tools-opt.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libSPIRV-Tools.so %_libdir/libSPIRV-Tools.so
%_libdir/libSPIRV-Tools-comp.so
%_libdir/libSPIRV-Tools-opt.so %_libdir/libSPIRV-Tools-opt.so
%_includedir/spirv-tools/ %_includedir/spirv-tools/

View File

@ -5,30 +5,43 @@ Unversioned libraries suck!
--- ---
source/CMakeLists.txt | 1 + source/CMakeLists.txt | 1 +
source/comp/CMakeLists.txt | 1 +
source/opt/CMakeLists.txt | 1 + source/opt/CMakeLists.txt | 1 +
2 files changed, 2 insertions(+) 3 files changed, 3 insertions(+)
Index: spirv-tools-2016.7~g24/source/CMakeLists.txt Index: spirv-tools-2016.7~g154/source/CMakeLists.txt
=================================================================== ===================================================================
--- spirv-tools-2016.7~g24.orig/source/CMakeLists.txt --- spirv-tools-2016.7~g154.orig/source/CMakeLists.txt
+++ spirv-tools-2016.7~g24/source/CMakeLists.txt +++ spirv-tools-2016.7~g154/source/CMakeLists.txt
@@ -219,6 +219,7 @@ set_source_files_properties( @@ -281,6 +281,7 @@ set_source_files_properties(
PROPERTIES OBJECT_DEPENDS "${SPIRV_TOOLS_BUILD_VERSION_INC}") PROPERTIES OBJECT_DEPENDS "${SPIRV_TOOLS_BUILD_VERSION_INC}")
add_library(${SPIRV_TOOLS} ${SPIRV_SOURCES}) add_library(${SPIRV_TOOLS} ${SPIRV_SOURCES})
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse2) +set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse3)
spvtools_default_compile_options(${SPIRV_TOOLS}) spvtools_default_compile_options(${SPIRV_TOOLS})
target_include_directories(${SPIRV_TOOLS} target_include_directories(${SPIRV_TOOLS}
PUBLIC ${spirv-tools_SOURCE_DIR}/include PUBLIC ${spirv-tools_SOURCE_DIR}/include
Index: spirv-tools-2016.7~g24/source/opt/CMakeLists.txt Index: spirv-tools-2016.7~g154/source/comp/CMakeLists.txt
=================================================================== ===================================================================
--- spirv-tools-2016.7~g24.orig/source/opt/CMakeLists.txt --- spirv-tools-2016.7~g154.orig/source/comp/CMakeLists.txt
+++ spirv-tools-2016.7~g24/source/opt/CMakeLists.txt +++ spirv-tools-2016.7~g154/source/comp/CMakeLists.txt
@@ -53,6 +53,7 @@ add_library(SPIRV-Tools-opt @@ -13,6 +13,7 @@
# limitations under the License.
add_library(SPIRV-Tools-comp markv_codec.cpp)
+set_target_properties(SPIRV-Tools-comp PROPERTIES SOVERSION suse3)
spvtools_default_compile_options(SPIRV-Tools-comp)
target_include_directories(SPIRV-Tools-comp
Index: spirv-tools-2016.7~g154/source/opt/CMakeLists.txt
===================================================================
--- spirv-tools-2016.7~g154.orig/source/opt/CMakeLists.txt
+++ spirv-tools-2016.7~g154/source/opt/CMakeLists.txt
@@ -82,6 +82,7 @@ add_library(SPIRV-Tools-opt
unify_const_pass.cpp unify_const_pass.cpp
) )
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse2) +set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse3)
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 ${spirv-tools_SOURCE_DIR}/include PUBLIC ${spirv-tools_SOURCE_DIR}/include