1
0
forked from pool/spirv-tools

Accepting request 631743 from X11:Wayland

- Update to new upstream release 2018.4

OBS-URL: https://build.opensuse.org/request/show/631743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-tools?expand=0&rev=10
This commit is contained in:
Yuchen Lin 2018-09-11 15:11:29 +00:00 committed by Git OBS Bridge
commit 9bf90f8093
8 changed files with 39 additions and 21 deletions

View File

@ -3,9 +3,9 @@
<param name="scm">git</param> <param name="scm">git</param>
<param name="url">https://github.com/KhronosGroup/SPIRV-Tools</param> <param name="url">https://github.com/KhronosGroup/SPIRV-Tools</param>
<param name="filename">spirv-tools</param> <param name="filename">spirv-tools</param>
<param name="revision">v2018.2</param> <param name="revision">v2018.4</param>
<param name="parent-tag">v2018.2</param> <param name="parent-tag">v2018.4</param>
<param name="versionformat">2018.2</param> <param name="versionformat">2018.4.g@TAG_OFFSET@</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="disabled">
<param name="file">*.tar</param> <param name="file">*.tar</param>

View File

@ -1,2 +1,2 @@
libSPIRV-Tools-suse6 libSPIRV-Tools-suse7
spirv-tools-devel spirv-tools-devel

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~g135/tools/io.h Index: spirv-tools-2018.4.g0/tools/io.h
=================================================================== ===================================================================
--- spirv-tools-2016.7~g135.orig/tools/io.h --- spirv-tools-2018.4.g0.orig/tools/io.h
+++ spirv-tools-2016.7~g135/tools/io.h +++ spirv-tools-2018.4.g0/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;
} }
@ -25,6 +25,6 @@ Index: spirv-tools-2016.7~g135/tools/io.h
- if (sizeof(T) != 1 && (ftell(fp) % sizeof(T))) { - if (sizeof(T) != 1 && (ftell(fp) % sizeof(T))) {
+ long ftx = ftell(fp); + long ftx = ftell(fp);
+ if (sizeof(T) != 1 && ftx % sizeof(T) != 0) { + if (sizeof(T) != 1 && ftx % sizeof(T) != 0) {
fprintf(stderr, "error: corrupted word found in file '%s'\n", filename); fprintf(
return false; stderr,
} "error: file size should be a multiple of %zd; file '%s' corrupt\n",

View File

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

View File

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Aug 24 19:05:26 UTC 2018 - jengelh@inai.de
- Update to new upstream release 2018.4
* Added missing SPV extension strings.
* Taught DecorationManager about OpDecorateStringGOOGLE.
* Added recent Google extensions to optimizer whitelists.
* Added a loop peeling utility.
* Added Vulkan validation rules for BuiltIn variables and
Vulkan specific atomic result type restriction.
* New spirv-1.3 rules for control barrier.
* Added OpPhi validation rules.
* Use standard SPIR-V version scheme for version requirement.
* ZIV and SIV loop dependence analysis.
* Added a loop peeling pass, register liveness analysis,
a loop fusion pass, and the --strip-reflect pass.
* Support for SPV_KHR_8bit_storage.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 28 10:20:48 UTC 2018 - meissner@suse.com Wed Mar 28 10:20:48 UTC 2018 - meissner@suse.com

View File

@ -16,11 +16,11 @@
# #
%define version_unconverted 2018.2 %define version_unconverted 2018.4.g0
%define lname libSPIRV-Tools-suse6 %define lname libSPIRV-Tools-suse7
Name: spirv-tools Name: spirv-tools
Version: 2018.2 Version: 2018.4.g0
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

View File

@ -18,7 +18,7 @@ Index: spirv-tools-2018.2/source/CMakeLists.txt
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 suse6) +set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse7)
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
@ -26,7 +26,7 @@ Index: spirv-tools-2018.2/source/CMakeLists.txt
spvtools_check_symbol_exports(${SPIRV_TOOLS}) spvtools_check_symbol_exports(${SPIRV_TOOLS})
add_library(${SPIRV_TOOLS}-shared SHARED ${SPIRV_SOURCES}) add_library(${SPIRV_TOOLS}-shared SHARED ${SPIRV_SOURCES})
+set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse6) +set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse7)
spvtools_default_compile_options(${SPIRV_TOOLS}-shared) spvtools_default_compile_options(${SPIRV_TOOLS}-shared)
target_include_directories(${SPIRV_TOOLS}-shared target_include_directories(${SPIRV_TOOLS}-shared
PUBLIC ${spirv-tools_SOURCE_DIR}/include PUBLIC ${spirv-tools_SOURCE_DIR}/include
@ -38,7 +38,7 @@ Index: spirv-tools-2018.2/source/comp/CMakeLists.txt
if(SPIRV_BUILD_COMPRESSION) if(SPIRV_BUILD_COMPRESSION)
add_library(SPIRV-Tools-comp markv_codec.cpp) add_library(SPIRV-Tools-comp markv_codec.cpp)
+ set_target_properties(SPIRV-Tools-comp PROPERTIES SOVERSION suse6) + set_target_properties(SPIRV-Tools-comp PROPERTIES SOVERSION suse7)
spvtools_default_compile_options(SPIRV-Tools-comp) spvtools_default_compile_options(SPIRV-Tools-comp)
target_include_directories(SPIRV-Tools-comp target_include_directories(SPIRV-Tools-comp
@ -50,7 +50,7 @@ Index: spirv-tools-2018.2/source/link/CMakeLists.txt
add_library(SPIRV-Tools-link add_library(SPIRV-Tools-link
linker.cpp linker.cpp
) )
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse6) +set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse7)
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
@ -62,7 +62,7 @@ Index: spirv-tools-2018.2/source/opt/CMakeLists.txt
workaround1209.cpp workaround1209.cpp
) )
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse6) +set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse7)
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