- Update to release 2020.2
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=51
This commit is contained in:
parent
624c59a63f
commit
90cbea1972
16
_service
16
_service
@ -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>
|
|
@ -1,4 +1,4 @@
|
|||||||
libSPIRV-Tools-suse16
|
libSPIRV-Tools-suse17
|
||||||
spirv-tools-devel
|
spirv-tools-devel
|
||||||
requires -spirv-tools-<targettype>
|
requires -spirv-tools-<targettype>
|
||||||
requires "libSPIRV-Tools-suse16-<targettype> = <version>"
|
requires "libSPIRV-Tools-suse17-<targettype> = <version>"
|
||||||
|
@ -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>
|
Thu Feb 20 10:10:56 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
|
|
||||||
|
|
||||||
%define version_unconverted 2020.1
|
%define version_unconverted 2020.1
|
||||||
%define lname libSPIRV-Tools-suse16
|
%define lname libSPIRV-Tools-suse17
|
||||||
|
|
||||||
Name: spirv-tools
|
Name: spirv-tools
|
||||||
Version: 2020.1
|
Version: 2020.2
|
||||||
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
|
||||||
@ -31,14 +31,13 @@ Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/v%version.ta
|
|||||||
Source9: baselibs.conf
|
Source9: baselibs.conf
|
||||||
Patch1: ver.diff
|
Patch1: ver.diff
|
||||||
Patch2: gcc48.diff
|
Patch2: gcc48.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: cmake >= 2.8.12
|
BuildRequires: cmake >= 2.8.12
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
BuildRequires: python3-xml
|
BuildRequires: python3-xml
|
||||||
BuildRequires: spirv-headers >= 1.5.1.corrected
|
BuildRequires: spirv-headers >= 1.5.1.corrected+git24
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The package includes an assembler, binary module parser,
|
The package includes an assembler, binary module parser,
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1eaa5e09c638d7113b60d825e6ce44406b35031be68db894a016b5faf45de568
|
|
||||||
size 2053947
|
|
3
v2020.2.tar.gz
Normal file
3
v2020.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:29f376f6ebc24d3ce39c1aa47101c4b5d256c8247e41068b541dd43bb88d4174
|
||||||
|
size 2126892
|
12
ver.diff
12
ver.diff
@ -19,7 +19,7 @@ Index: spirv-tools-2019.5~git157/source/CMakeLists.txt
|
|||||||
spvtools_pch(SPIRV_SOURCES pch_source)
|
spvtools_pch(SPIRV_SOURCES pch_source)
|
||||||
|
|
||||||
add_library(${SPIRV_TOOLS} ${SPIRV_SOURCES})
|
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})
|
spvtools_default_compile_options(${SPIRV_TOOLS})
|
||||||
target_include_directories(${SPIRV_TOOLS}
|
target_include_directories(${SPIRV_TOOLS}
|
||||||
PUBLIC
|
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_dependencies( ${SPIRV_TOOLS} core_tables enum_string_mapping extinst_tables )
|
||||||
|
|
||||||
add_library(${SPIRV_TOOLS}-shared SHARED ${SPIRV_SOURCES})
|
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)
|
spvtools_default_compile_options(${SPIRV_TOOLS}-shared)
|
||||||
target_include_directories(${SPIRV_TOOLS}-shared
|
target_include_directories(${SPIRV_TOOLS}-shared
|
||||||
PUBLIC
|
PUBLIC
|
||||||
@ -39,7 +39,7 @@ Index: spirv-tools-2019.5~git157/source/fuzz/CMakeLists.txt
|
|||||||
spvtools_pch(SPIRV_TOOLS_FUZZ_SOURCES pch_source_fuzz)
|
spvtools_pch(SPIRV_TOOLS_FUZZ_SOURCES pch_source_fuzz)
|
||||||
|
|
||||||
add_library(SPIRV-Tools-fuzz ${SPIRV_TOOLS_FUZZ_SOURCES})
|
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)
|
spvtools_default_compile_options(SPIRV-Tools-fuzz)
|
||||||
target_compile_definitions(SPIRV-Tools-fuzz PUBLIC -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_USE_UNALIGNED=0)
|
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
|
add_library(SPIRV-Tools-link
|
||||||
linker.cpp
|
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)
|
spvtools_default_compile_options(SPIRV-Tools-link)
|
||||||
target_include_directories(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})
|
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)
|
spvtools_default_compile_options(SPIRV-Tools-opt)
|
||||||
target_include_directories(SPIRV-Tools-opt
|
target_include_directories(SPIRV-Tools-opt
|
||||||
PUBLIC
|
PUBLIC
|
||||||
@ -75,7 +75,7 @@ Index: spirv-tools-2019.5~git157/source/reduce/CMakeLists.txt
|
|||||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||||
PRIVATE ${spirv-tools_BINARY_DIR}
|
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.
|
# The reducer reuses a lot of functionality from the SPIRV-Tools library.
|
||||||
target_link_libraries(SPIRV-Tools-reduce
|
target_link_libraries(SPIRV-Tools-reduce
|
||||||
PUBLIC ${SPIRV_TOOLS}
|
PUBLIC ${SPIRV_TOOLS}
|
||||||
|
Loading…
Reference in New Issue
Block a user