forked from pool/spirv-tools
Accepting request 777630 from X11:Wayland
- Update to release 2020.1 OBS-URL: https://build.opensuse.org/request/show/777630 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-tools?expand=0&rev=19
This commit is contained in:
commit
0e1349ec04
6
_service
6
_service
@ -3,9 +3,9 @@
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/KhronosGroup/SPIRV-Tools</param>
|
||||
<param name="filename">spirv-tools</param>
|
||||
<param name="revision">323a81fc</param>
|
||||
<param name="parent-tag">v2019.5</param>
|
||||
<param name="versionformat">2020.1~git@TAG_OFFSET@</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>
|
||||
|
@ -1,4 +1,4 @@
|
||||
libSPIRV-Tools-suse15
|
||||
libSPIRV-Tools-suse16
|
||||
spirv-tools-devel
|
||||
requires -spirv-tools-<targettype>
|
||||
requires "libSPIRV-Tools-suse15-<targettype> = <version>"
|
||||
requires "libSPIRV-Tools-suse16-<targettype> = <version>"
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e99e5700526c0f46fbf53d4885137c734c37e58813d0c41231ff9e6bca9cb560
|
||||
size 1380612
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 20 10:10:56 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2020.1
|
||||
* Add spvParseVulkanEnv
|
||||
* Handle TimeAMD in AmdExtensionToKhrPass
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 19 11:04:32 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -16,18 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%define version_unconverted 2020.1~git24
|
||||
%define lname libSPIRV-Tools-suse15
|
||||
%define version_unconverted 2020.1
|
||||
%define lname libSPIRV-Tools-suse16
|
||||
|
||||
Name: spirv-tools
|
||||
Version: 2020.1~git24
|
||||
Version: 2020.1
|
||||
Release: 0
|
||||
Summary: API and commands for processing SPIR-V modules
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/KhronosGroup/SPIRV-Tools
|
||||
|
||||
Source: %name-%version.tar.xz
|
||||
Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/v%version.tar.gz
|
||||
Source9: baselibs.conf
|
||||
Patch1: ver.diff
|
||||
Patch2: gcc48.diff
|
||||
@ -66,7 +66,7 @@ validator, and is used in the standalone tools whilst also enabling
|
||||
integration into other code bases directly.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -qn SPIRV-Tools-%version
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
|
3
v2020.1.tar.gz
Normal file
3
v2020.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1eaa5e09c638d7113b60d825e6ce44406b35031be68db894a016b5faf45de568
|
||||
size 2053947
|
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)
|
||||
|
||||
add_library(${SPIRV_TOOLS} ${SPIRV_SOURCES})
|
||||
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse15)
|
||||
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse16)
|
||||
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 suse15)
|
||||
+set_target_properties(${SPIRV_TOOLS}-shared PROPERTIES SOVERSION suse16)
|
||||
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 suse15)
|
||||
+ set_target_properties(SPIRV-Tools-fuzz PROPERTIES SOVERSION suse16)
|
||||
|
||||
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 suse15)
|
||||
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse16)
|
||||
|
||||
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 suse15)
|
||||
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse16)
|
||||
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 suse15)
|
||||
+set_target_properties(SPIRV-Tools-reduce PROPERTIES SOVERSION suse16)
|
||||
# The reducer reuses a lot of functionality from the SPIRV-Tools library.
|
||||
target_link_libraries(SPIRV-Tools-reduce
|
||||
PUBLIC ${SPIRV_TOOLS}
|
||||
|
Loading…
Reference in New Issue
Block a user