- Update to new snapshot 2017.0.g103
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=15
This commit is contained in:
parent
cbfa777e85
commit
e36c64fef0
4
_service
4
_service
@ -3,8 +3,8 @@
|
|||||||
<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">68c5f0436f1d4f1f137e608780190865d0b193ca</param>
|
<param name="parent-tag">d16403a</param>
|
||||||
<param name="versionformat">2016.7~g@TAG_OFFSET@</param>
|
<param name="versionformat">2017.0.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>
|
||||||
|
@ -1 +1 @@
|
|||||||
libSPIRV-Tools-suse3
|
libSPIRV-Tools-suse4
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:72cfa99edb8b069fb56c736e5fc9c5d580cda66bf7fc0f38b8ee51e1ac511982
|
|
||||||
size 389740
|
|
3
spirv-tools-2017.0.g103.tar.xz
Normal file
3
spirv-tools-2017.0.g103.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5b5a0442de1979b02c6dc7631eea60baaba70614561d99df1afe31085886eda6
|
||||||
|
size 508352
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 17 13:32:51 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new snapshot 2017.0.g103
|
||||||
|
* Update MARK-V to version 1.01
|
||||||
|
* Add new checks to validate arithmetics pass
|
||||||
|
* Recognize SPV_AMD_shader_fragment_mask
|
||||||
|
* Add validate logicals pass to the validator
|
||||||
|
* Detach MARK-V from the validator
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 18 09:01:25 UTC 2017 - jengelh@inai.de
|
Tue Jul 18 09:01:25 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -16,11 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define version_unconverted 2016.7~g154
|
%define version_unconverted 2017.0.g103
|
||||||
%define lname libSPIRV-Tools-suse3
|
%define lname libSPIRV-Tools-suse4
|
||||||
|
|
||||||
Name: spirv-tools
|
Name: spirv-tools
|
||||||
Version: 2016.7~g154
|
Version: 2017.0.g103
|
||||||
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
|
||||||
@ -38,7 +38,7 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
BuildRequires: python-xml
|
BuildRequires: python-xml
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
BuildRequires: spirv-headers
|
BuildRequires: spirv-headers >= 1.2
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The package includes an assembler, binary module parser,
|
The package includes an assembler, binary module parser,
|
||||||
@ -70,7 +70,7 @@ integration into other code bases directly.
|
|||||||
%patch -P 1 -P 2 -p1
|
%patch -P 1 -P 2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -D"SPIRV-Headers_SOURCE_DIR=%_prefix"
|
%cmake -D"SPIRV-Headers_SOURCE_DIR=%_prefix" -DSPIRV_BUILD_COMPRESSION=BOOL:ON
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -89,12 +89,14 @@ b="%buildroot"
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libSPIRV-Tools.so.*
|
%_libdir/libSPIRV-Tools.so.*
|
||||||
%_libdir/libSPIRV-Tools-comp.so.*
|
%_libdir/libSPIRV-Tools-comp.so.*
|
||||||
|
%_libdir/libSPIRV-Tools-link.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-comp.so
|
||||||
|
%_libdir/libSPIRV-Tools-link.so
|
||||||
%_libdir/libSPIRV-Tools-opt.so
|
%_libdir/libSPIRV-Tools-opt.so
|
||||||
%_includedir/spirv-tools/
|
%_includedir/spirv-tools/
|
||||||
|
|
||||||
|
51
ver.diff
51
ver.diff
@ -6,14 +6,15 @@ Unversioned libraries suck!
|
|||||||
---
|
---
|
||||||
source/CMakeLists.txt | 1 +
|
source/CMakeLists.txt | 1 +
|
||||||
source/comp/CMakeLists.txt | 1 +
|
source/comp/CMakeLists.txt | 1 +
|
||||||
|
source/link/CMakeLists.txt | 1 +
|
||||||
source/opt/CMakeLists.txt | 1 +
|
source/opt/CMakeLists.txt | 1 +
|
||||||
3 files changed, 3 insertions(+)
|
4 files changed, 4 insertions(+)
|
||||||
|
|
||||||
Index: spirv-tools-2016.7~g154/source/CMakeLists.txt
|
Index: spirv-tools-2017.0.g103/source/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- spirv-tools-2016.7~g154.orig/source/CMakeLists.txt
|
--- spirv-tools-2017.0.g103.orig/source/CMakeLists.txt
|
||||||
+++ spirv-tools-2016.7~g154/source/CMakeLists.txt
|
+++ spirv-tools-2017.0.g103/source/CMakeLists.txt
|
||||||
@@ -281,6 +281,7 @@ set_source_files_properties(
|
@@ -288,6 +288,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})
|
||||||
@ -21,24 +22,36 @@ Index: spirv-tools-2016.7~g154/source/CMakeLists.txt
|
|||||||
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~g154/source/comp/CMakeLists.txt
|
Index: spirv-tools-2017.0.g103/source/comp/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- spirv-tools-2016.7~g154.orig/source/comp/CMakeLists.txt
|
--- spirv-tools-2017.0.g103.orig/source/comp/CMakeLists.txt
|
||||||
+++ spirv-tools-2016.7~g154/source/comp/CMakeLists.txt
|
+++ spirv-tools-2017.0.g103/source/comp/CMakeLists.txt
|
||||||
@@ -13,6 +13,7 @@
|
@@ -14,6 +14,7 @@
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
add_library(SPIRV-Tools-comp markv_codec.cpp)
|
if(SPIRV_BUILD_COMPRESSION)
|
||||||
+set_target_properties(SPIRV-Tools-comp PROPERTIES SOVERSION suse3)
|
add_library(SPIRV-Tools-comp markv_codec.cpp)
|
||||||
|
+ set_target_properties(SPIRV-Tools-comp PROPERTIES SOVERSION suse4)
|
||||||
|
|
||||||
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-2016.7~g154/source/opt/CMakeLists.txt
|
Index: spirv-tools-2017.0.g103/source/link/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- spirv-tools-2016.7~g154.orig/source/opt/CMakeLists.txt
|
--- spirv-tools-2017.0.g103.orig/source/link/CMakeLists.txt
|
||||||
+++ spirv-tools-2016.7~g154/source/opt/CMakeLists.txt
|
+++ spirv-tools-2017.0.g103/source/link/CMakeLists.txt
|
||||||
@@ -82,6 +82,7 @@ add_library(SPIRV-Tools-opt
|
@@ -14,6 +14,7 @@
|
||||||
unify_const_pass.cpp
|
add_library(SPIRV-Tools-link
|
||||||
|
linker.cpp
|
||||||
|
)
|
||||||
|
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse4)
|
||||||
|
|
||||||
|
spvtools_default_compile_options(SPIRV-Tools-link)
|
||||||
|
target_include_directories(SPIRV-Tools-link
|
||||||
|
Index: spirv-tools-2017.0.g103/source/opt/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- spirv-tools-2017.0.g103.orig/source/opt/CMakeLists.txt
|
||||||
|
+++ spirv-tools-2017.0.g103/source/opt/CMakeLists.txt
|
||||||
|
@@ -106,6 +106,7 @@ add_library(SPIRV-Tools-opt
|
||||||
|
instruction_list.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse3)
|
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse3)
|
||||||
|
Loading…
Reference in New Issue
Block a user