forked from pool/spirv-tools
- Update to new upstream release 2018.0
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=21
This commit is contained in:
parent
4cacd628bf
commit
2c8f3f5e3b
5
_service
5
_service
@ -3,8 +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="parent-tag">d16403a</param>
|
<param name="revision">v2018.0</param>
|
||||||
<param name="versionformat">2017.0.g@TAG_OFFSET@</param>
|
<param name="parent-tag">v2018.0</param>
|
||||||
|
<param name="versionformat">2018.0</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="disabled">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
|
@ -1 +1 @@
|
|||||||
libSPIRV-Tools-suse4
|
libSPIRV-Tools-suse5
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5b5a0442de1979b02c6dc7631eea60baaba70614561d99df1afe31085886eda6
|
|
||||||
size 508352
|
|
3
spirv-tools-2018.0.tar.xz
Normal file
3
spirv-tools-2018.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e5dbc7474636266cf34762244e31f303d497be230286469ad26ac82d2fd005a0
|
||||||
|
size 663044
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 7 22:22:02 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 2018.0
|
||||||
|
* Added OpenCL ExtInst validation rules
|
||||||
|
* Add adjacency validation pass
|
||||||
|
* Add memory semantics checks to validate atomics
|
||||||
|
* Allow relaxing validation of pointers in logical
|
||||||
|
addressing mode
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 4 15:47:38 UTC 2018 - tchvatal@suse.com
|
Thu Jan 4 15:47:38 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -16,11 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define version_unconverted 2017.0.g103
|
%define version_unconverted 2018.0
|
||||||
%define lname libSPIRV-Tools-suse4
|
%define lname libSPIRV-Tools-suse5
|
||||||
|
|
||||||
Name: spirv-tools
|
Name: spirv-tools
|
||||||
Version: 2017.0.g103
|
Version: 2018.0
|
||||||
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: cmake >= 2.8.12
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
BuildRequires: python3-xml
|
BuildRequires: python3-xml
|
||||||
BuildRequires: spirv-headers >= 1.2
|
BuildRequires: spirv-headers >= 1.2.g22
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The package includes an assembler, binary module parser,
|
The package includes an assembler, binary module parser,
|
||||||
@ -93,6 +93,7 @@ make %{?_smp_mflags}
|
|||||||
%_libdir/libSPIRV-Tools-comp.so
|
%_libdir/libSPIRV-Tools-comp.so
|
||||||
%_libdir/libSPIRV-Tools-link.so
|
%_libdir/libSPIRV-Tools-link.so
|
||||||
%_libdir/libSPIRV-Tools-opt.so
|
%_libdir/libSPIRV-Tools-opt.so
|
||||||
|
%_libdir/pkgconfig/SPIRV-Tools.pc
|
||||||
%_includedir/spirv-tools/
|
%_includedir/spirv-tools/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
38
ver.diff
38
ver.diff
@ -10,51 +10,51 @@ Unversioned libraries suck!
|
|||||||
source/opt/CMakeLists.txt | 1 +
|
source/opt/CMakeLists.txt | 1 +
|
||||||
4 files changed, 4 insertions(+)
|
4 files changed, 4 insertions(+)
|
||||||
|
|
||||||
Index: spirv-tools-2017.0.g103/source/CMakeLists.txt
|
Index: spirv-tools-2018.0.g0/source/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- spirv-tools-2017.0.g103.orig/source/CMakeLists.txt
|
--- spirv-tools-2018.0.g0.orig/source/CMakeLists.txt
|
||||||
+++ spirv-tools-2017.0.g103/source/CMakeLists.txt
|
+++ spirv-tools-2018.0.g0/source/CMakeLists.txt
|
||||||
@@ -288,6 +288,7 @@ set_source_files_properties(
|
@@ -324,6 +324,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 suse3)
|
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse5)
|
||||||
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-2017.0.g103/source/comp/CMakeLists.txt
|
Index: spirv-tools-2018.0.g0/source/comp/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- spirv-tools-2017.0.g103.orig/source/comp/CMakeLists.txt
|
--- spirv-tools-2018.0.g0.orig/source/comp/CMakeLists.txt
|
||||||
+++ spirv-tools-2017.0.g103/source/comp/CMakeLists.txt
|
+++ spirv-tools-2018.0.g0/source/comp/CMakeLists.txt
|
||||||
@@ -14,6 +14,7 @@
|
@@ -14,6 +14,7 @@
|
||||||
|
|
||||||
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 suse4)
|
+ set_target_properties(SPIRV-Tools-comp PROPERTIES SOVERSION suse5)
|
||||||
|
|
||||||
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
|
||||||
Index: spirv-tools-2017.0.g103/source/link/CMakeLists.txt
|
Index: spirv-tools-2018.0.g0/source/link/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- spirv-tools-2017.0.g103.orig/source/link/CMakeLists.txt
|
--- spirv-tools-2018.0.g0.orig/source/link/CMakeLists.txt
|
||||||
+++ spirv-tools-2017.0.g103/source/link/CMakeLists.txt
|
+++ spirv-tools-2018.0.g0/source/link/CMakeLists.txt
|
||||||
@@ -14,6 +14,7 @@
|
@@ -14,6 +14,7 @@
|
||||||
add_library(SPIRV-Tools-link
|
add_library(SPIRV-Tools-link
|
||||||
linker.cpp
|
linker.cpp
|
||||||
)
|
)
|
||||||
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse4)
|
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse5)
|
||||||
|
|
||||||
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
|
||||||
Index: spirv-tools-2017.0.g103/source/opt/CMakeLists.txt
|
Index: spirv-tools-2018.0.g0/source/opt/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- spirv-tools-2017.0.g103.orig/source/opt/CMakeLists.txt
|
--- spirv-tools-2018.0.g0.orig/source/opt/CMakeLists.txt
|
||||||
+++ spirv-tools-2017.0.g103/source/opt/CMakeLists.txt
|
+++ spirv-tools-2018.0.g0/source/opt/CMakeLists.txt
|
||||||
@@ -106,6 +106,7 @@ add_library(SPIRV-Tools-opt
|
@@ -142,6 +142,7 @@ add_library(SPIRV-Tools-opt
|
||||||
instruction_list.cpp
|
workaround1209.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse3)
|
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse5)
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user