1
0
forked from pool/spirv-tools

Accepting request 792441 from X11:Wayland

- Update to release 2020.2

OBS-URL: https://build.opensuse.org/request/show/792441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-tools?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2020-04-13 10:52:24 +00:00 committed by Git OBS Bridge
commit cf2d1c05d5
7 changed files with 23 additions and 31 deletions

View File

@ -1,16 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/KhronosGroup/SPIRV-Tools</param>
<param name="filename">spirv-tools</param>
<param name="revision">v2020.1</param>
<param name="parent-tag">v2020.1</param>
<param name="versionformat">2020.1</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
<!-- remove directory windows*/ because of vcredist -->
</services>

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Apr 8 11:21:33 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2020.2
* Support extended instructions in the vscode language server.
* Make spvOpcodeString part of the public API.
* Add support for KHR_ray_{query,tracing} extensions.
* Add validation support for SPV_AMD_shader_image_load_store_lod.
-------------------------------------------------------------------
Thu Feb 20 10:10:56 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,10 +17,10 @@
%define version_unconverted 2020.1
%define lname libSPIRV-Tools-suse16
%define lname libSPIRV-Tools-suse17
Name: spirv-tools
Version: 2020.1
Version: 2020.2
Release: 0
Summary: API and commands for processing SPIR-V modules
License: Apache-2.0
@ -31,14 +31,13 @@ Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/v%version.ta
Source9: baselibs.conf
Patch1: ver.diff
Patch2: gcc48.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison
BuildRequires: cmake >= 2.8.12
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: spirv-headers >= 1.5.1.corrected
BuildRequires: spirv-headers >= 1.5.1.corrected+git24
%description
The package includes an assembler, binary module parser,

View File

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

3
v2020.2.tar.gz Normal file
View File

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

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 suse16)
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse17)
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 suse16)
+set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse17)
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 suse16)
+ set_target_properties(SPIRV-Tools-fuzz PROPERTIES SOVERSION suse17)
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 suse16)
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse17)
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 suse16)
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse17)
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 suse16)
+set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse17)
# The reducer reuses a lot of functionality from the SPIRV-Tools library.
target_link_libraries(SPIRV-Tools-reduce
PUBLIC ${SPIRV_TOOLS}