spirv-tools-2016.7

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=8
This commit is contained in:
Jan Engelhardt 2017-02-02 11:04:34 +00:00 committed by Git OBS Bridge
parent 8adafd5c24
commit af152ac901
6 changed files with 57 additions and 23 deletions

View File

@ -3,8 +3,8 @@
<param name="scm">git</param>
<param name="url">https://github.com/KhronosGroup/SPIRV-Tools</param>
<param name="filename">spirv-tools</param>
<param name="parent-tag">spirv-1.1-rev1</param>
<param name="versionformat">1.1.g@TAG_OFFSET@</param>
<param name="parent-tag">68c5f0436f1d4f1f137e608780190865d0b193ca</param>
<param name="versionformat">2016.7~g@TAG_OFFSET@</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

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

View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Feb 2 10:35:57 UTC 2017 - jengelh@inai.de
- Update to new snapshot 2016.7~g24
* Add classes for representing SPIR-V language constructs in memory.
* Add an option to spvBinaryToText() to ignore header output.
* Add IrBuilder for constructing SPIR-V in-memory representation.
* Add Pass, PassManager, and StripDebugInfoPass.
* Add the spirv-opt command line tool.
* Fixes segfault for loops without back-edges
* Allow missing memory model instructions in modules.
* Add spirv-lesspipe.sh
* Add spirv-dis/spirv-as support for emacs when loading .spv binaries
-------------------------------------------------------------------
Mon Jun 13 09:46:37 UTC 2016 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package spirv-tools
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,14 +16,14 @@
#
%define version_unconverted 1.1.g41
%define lname libSPIRV-Tools-1_1
%define version_unconverted 2016.7~g24
%define lname libSPIRV-Tools-suse2
Name: spirv-tools
Version: 1.1.g41
Version: 2016.7~g24
Release: 0
Summary: API and commands for processing SPIR-V modules
License: MIT
License: Apache-2.0
Group: Development/Libraries/C and C++
Url: https://github.com/KhronosGroup/SPIRV-Tools
@ -33,6 +33,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison
BuildRequires: cmake >= 2.8.12
BuildRequires: gcc-c++
BuildRequires: python
BuildRequires: python-xml
BuildRequires: python3
BuildRequires: spirv-headers
@ -82,13 +84,19 @@ fi
%postun -n %lname -p /sbin/ldconfig
%files
%defattr(-,root,root)
%_bindir/spirv-*
%doc LICENSE
%files -n %lname
%_libdir/libSPIRV-Tools-1.1.so
%defattr(-,root,root)
%_libdir/libSPIRV-Tools.so.*
%_libdir/libSPIRV-Tools-opt.so.*
%files devel
%defattr(-,root,root)
%_libdir/libSPIRV-Tools.so
%_libdir/libSPIRV-Tools-opt.so
%_includedir/spirv-tools/
%changelog

View File

@ -4,19 +4,31 @@ Date: 2016-06-13 11:46:16.846841814 +0200
Unversioned libraries suck!
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
source/CMakeLists.txt | 1 +
source/opt/CMakeLists.txt | 1 +
2 files changed, 2 insertions(+)
Index: SPIRV-Tools/CMakeLists.txt
Index: spirv-tools-2016.7~g24/source/CMakeLists.txt
===================================================================
--- SPIRV-Tools.orig/CMakeLists.txt
+++ SPIRV-Tools/CMakeLists.txt
@@ -27,7 +27,7 @@
cmake_minimum_required(VERSION 2.8.12)
project(spirv-tools)
enable_testing()
-set(SPIRV_TOOLS "SPIRV-Tools")
+set(SPIRV_TOOLS "SPIRV-Tools-1.1")
--- spirv-tools-2016.7~g24.orig/source/CMakeLists.txt
+++ spirv-tools-2016.7~g24/source/CMakeLists.txt
@@ -219,6 +219,7 @@ set_source_files_properties(
PROPERTIES OBJECT_DEPENDS "${SPIRV_TOOLS_BUILD_VERSION_INC}")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
add_library(${SPIRV_TOOLS} ${SPIRV_SOURCES})
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse2)
spvtools_default_compile_options(${SPIRV_TOOLS})
target_include_directories(${SPIRV_TOOLS}
PUBLIC ${spirv-tools_SOURCE_DIR}/include
Index: spirv-tools-2016.7~g24/source/opt/CMakeLists.txt
===================================================================
--- spirv-tools-2016.7~g24.orig/source/opt/CMakeLists.txt
+++ spirv-tools-2016.7~g24/source/opt/CMakeLists.txt
@@ -53,6 +53,7 @@ add_library(SPIRV-Tools-opt
unify_const_pass.cpp
)
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse2)
spvtools_default_compile_options(SPIRV-Tools-opt)
target_include_directories(SPIRV-Tools-opt
PUBLIC ${spirv-tools_SOURCE_DIR}/include