Hello community,

here is the log from the commit of package spirv-tools.12798 for 
openSUSE:Leap:15.1:Update checked in at 2020-06-08 00:16:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.1:Update/spirv-tools.12798 (Old)
 and      /work/SRC/openSUSE:Leap:15.1:Update/.spirv-tools.12798.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spirv-tools.12798"

Mon Jun  8 00:16:25 2020 rev:1 rq:810605 version:2020.2

Changes:
--------
New Changes file:

--- /dev/null   2020-05-28 02:28:09.919761697 +0200
+++ 
/work/SRC/openSUSE:Leap:15.1:Update/.spirv-tools.12798.new.3606/spirv-tools.changes
 2020-06-08 00:16:25.707693969 +0200
@@ -0,0 +1,245 @@
+-------------------------------------------------------------------
+Wed Apr  8 11:21:33 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- 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 <[email protected]>
+
+- Update to release 2020.1
+  * Add spvParseVulkanEnv
+  * Handle TimeAMD in AmdExtensionToKhrPass
+
+-------------------------------------------------------------------
+Sun Jan 19 11:04:32 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Update to snapshot 2020.1~git24 (323a81fc)
+  * Added basic Vulkan 1.2 support and validation of 1.2.
+  * spirv-fuzz: added fuzzer pass to perform module donation.
+  * Supports OpenCL.DebugInfo.100 extended instruction set.
+  * Added support for SPV_KHR_non_semantic_info.
+  * spirv-fuzz: Transformations to add types, constants and
+    variables, and to add a new function to a module.
+  * Made instrumentation format version 2 the default.
+
+-------------------------------------------------------------------
+Thu Dec 12 21:20:47 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Update to release 2019.5
+  * Re-enable OpReadClockKHR validation
+  * spirv-fuzz: simplify transformation for replacing an id with
+    a synonym
+  * spirv-fuzz: Eliminate spurious semicolons
+  * Update Offset to ConstOffset bitmask if operand is constant
+  * Validate array stride does not cause overlap
+  * Fix operand access of composite in upgrade memory model
+  * Kill the id-to-func map after wrap-opkill
+  * Handle OpPhi with no in operands in value numbering
+  * Handle unreachable block when computing register pressure
+  * spirv-fuzz: Improve debugging facilities
+  * Validate nested constructs
+  * spirv-fuzz: Use validator to check break/continue dominance
+    conditions
+  * spirv-fuzz: function outlining fuzzer pass
+
+-------------------------------------------------------------------
+Thu Nov  7 09:03:03 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Update to snapshot 2019.5~git157
+  * Extend reducer to remove relaxed precision decorations
+  * SPIRV-Tools support for SPIR-V 1.5
+  * Add SPV_KHR_shader_clock validation
+  * Add fuzzer for spirv-dis call path
+
+-------------------------------------------------------------------
+Wed Aug 21 07:56:49 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Update to new snapshot 2019.5~git11
+  * Add builtin validation for SPV_NV_shader_sm_builtins
+  * Add transformation to replace a boolean constant with a
+    numeric comparison
+  * Add validation for Subgroup builtins
+  * Add replayer tool for spirv-fuzz
+  * Validate Volatile memory semantics bit
+  * Add validation for SPV_EXT_demote_to_helper_invocation
+  * Add 'copy object' transformation
+  * Add SPV_EXT_physical_storage_buffer to opt whitelists
+  * Add descriptor array scalar replacement
+
+-------------------------------------------------------------------
+Tue Jun  4 12:23:07 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Update to new snapshot 2019.4~git33
+  * Support SPIR-V 1.4
+  * Add library for spirv-fuzz
+  * Add spirv-fuzz tool.
+  * Add "split block" transformation.
+  * Add validation for SPV_EXT_fragment_shader_interlock
+
+-------------------------------------------------------------------
+Sun Mar 17 13:25:59 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Update to new snapshot 2019.2.git25 (2ac348b5) to be in line
+  with current spirv-headers.
+  * Add --strip-atomic-counter-memory
+  * Add validation of storage classes for WebGPU
+  * Add validation for ExecutionMode in WebGPU
+  * Implement WebGPU specific CFG validation
+  * Allow NonWritable to target struct members
+  * Add validation for SPV_NV_cooperative_matrix
+
+-------------------------------------------------------------------
+Wed Feb 20 20:06:31 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Update to new upstream release 2019.2
+  * General:
+  * Support SPV_EXT_physical_storage_buffer
+  * Optimizer:
+  * Upgrade memory model improvments for modf and frexp.
+  * Add a new pass to move loads closer to their uses: code sinking.
+  * Invalidating the type manager now invalidates the constant
+    manager.
+  * Expand instrumentation pass for bindless bounds checking to
+    runtime-sized descriptor arrays.
+  * Add a new dead struct member elimination pass
+  * Validator:
+  * Support SPV_KHR_no_integer_wrap and related decorations.
+  * Validate Vulkan rules for OpTypeRuntimeArray.
+  * Validate NonWritable decoration.
+  * Many WebGPU specific validation rules were added.
+  * Validate variable pointer related function call rules.
+
+-------------------------------------------------------------------
+Mon Jan  7 21:33:03 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Update to new upstream release 2019.1
+  * Created a new tool called spirv-reduce.
+  * New optimization pass to update the memory model from GLSL450
+    to VulkanKHR.
+  * Recognize OpTypeAccelerationStructureNV as a type instruction
+    and ray tracing storage classes.
+  * Add --target-env flag to spirv-opt.
+  * Add --webgpu-mode flag to run optimizations for webgpu.
+  * Outupt disassembled line number instead of byte offset in
+    validation errors.
+
+-------------------------------------------------------------------
+Sat Nov 10 12:24:41 UTC 2018 - Jan Engelhardt <[email protected]>
+
+- Update to new upstream release 2018.6
+  * Added support for the Nvidia Turing and ray tracing extensions.
+
+-------------------------------------------------------------------
+Fri Aug 24 19:05:26 UTC 2018 - [email protected]
+
+- Update to new upstream release 2018.4
+  * Added missing SPV extension strings.
+  * Taught DecorationManager about OpDecorateStringGOOGLE.
+  * Added recent Google extensions to optimizer whitelists.
+  * Added a loop peeling utility.
+  * Added Vulkan validation rules for BuiltIn variables and
+    Vulkan specific atomic result type restriction.
+  * New spirv-1.3 rules for control barrier.
+  * Added OpPhi validation rules.
+  * Use standard SPIR-V version scheme for version requirement.
+  * ZIV and SIV loop dependence analysis.
+  * Added a loop peeling pass, register liveness analysis,
+    a loop fusion pass, and the --strip-reflect pass.
+  * Support for SPV_KHR_8bit_storage.
+
+-------------------------------------------------------------------
+Wed Mar 28 10:20:48 UTC 2018 - [email protected]
+
+- add spirv-tools-devel for baselibs, for wine usage.
+
+-------------------------------------------------------------------
+Thu Mar  8 00:14:25 UTC 2018 - [email protected]
+
+- Update to new upstream release 2018.2
+  * SubgroupBallotKHR can enable SubgroupSize & SubgroupLocalInvocationId
+  * Support SPIR-V 1.3 and Vulkan 1.1
+
+-------------------------------------------------------------------
+Wed Feb  7 22:22:02 UTC 2018 - [email protected]
+
+- Update to new upstream release 2018.0
+  * Added OpenCL ExtInst validation rules
+  * Add adjacency validation pass
+  * Add memory semantics checks to validate atomics
+  * Allow relaxing validation of pointers in logical
+    addressing mode
+
+-------------------------------------------------------------------
+Thu Jan  4 15:47:38 UTC 2018 - [email protected]
+
+- Make sure to build just with python3
+- Remove needles buildroot variable and default defattrs
+- Use autopatch to apply patches
+
+-------------------------------------------------------------------
+Fri Nov 17 13:32:51 UTC 2017 - [email protected]
+
+- 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 - [email protected]
+
+- Update to new snapshot 2016.7~g145
+  * Validation of type decls for SPV_KHR_16bit_storage
++++ 48 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.1:Update/.spirv-tools.12798.new.3606/spirv-tools.changes

New:
----
  baselibs.conf
  gcc48.diff
  spirv-tools.changes
  spirv-tools.spec
  v2020.2.tar.gz
  ver.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ spirv-tools.spec ++++++
#
# spec file for package spirv-tools
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define version_unconverted 2020.1
%define lname libSPIRV-Tools-suse17

Name:           spirv-tools
Version:        2020.2
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:         
https://github.com/KhronosGroup/SPIRV-Tools/archive/v%version.tar.gz
Source9:        baselibs.conf
Patch1:         ver.diff
Patch2:         gcc48.diff
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+git24

%description
The package includes an assembler, binary module parser,
disassembler, and validator for SPIR-V.

%package -n %lname
Summary:        SPIR-V tool component library
Group:          System/Libraries

%description -n %lname
The SPIR-V Tool library contains all of the implementation details
driving the SPIR-V assembler, binary module parser, disassembler and
validator, and is used in the standalone tools whilst also enabling
integration into other code bases directly.

%package devel
Summary:        Development headers for the SPIR-V tool library
Group:          Development/Libraries/C and C++
Requires:       %lname = %version

%description devel
The SPIR-V Tool library contains all of the implementation details
driving the SPIR-V assembler, binary module parser, disassembler and
validator, and is used in the standalone tools whilst also enabling
integration into other code bases directly.

%prep
%setup -qn SPIRV-Tools-%version
%autopatch -p1

%build
%cmake -D"SPIRV-Headers_SOURCE_DIR=%_prefix"
make %{?_smp_mflags}

%install
%cmake_install

%post   -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig

%files
%_bindir/spirv-*
%doc LICENSE

%files -n %lname
%_libdir/libSPIRV-Tools.so.*
%_libdir/libSPIRV-Tools-link.so.*
%_libdir/libSPIRV-Tools-opt.so.*
%_libdir/libSPIRV-Tools-reduce.so.*
%_libdir/libSPIRV-Tools-shared.so.*

%files devel
%_libdir/cmake/
%_libdir/libSPIRV-Tools.so
%_libdir/libSPIRV-Tools-link.so
%_libdir/libSPIRV-Tools-opt.so
%_libdir/libSPIRV-Tools-reduce.so
%_libdir/libSPIRV-Tools-shared.so
%_libdir/pkgconfig/SPIRV-Tools.pc
%_libdir/pkgconfig/SPIRV-Tools-shared.pc
%_includedir/spirv-tools/

%changelog
++++++ baselibs.conf ++++++
libSPIRV-Tools-suse17
spirv-tools-devel
        requires -spirv-tools-<targettype>
        requires "libSPIRV-Tools-suse17-<targettype> = <version>"
++++++ gcc48.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2017-02-02 19:42:44.679588946 +0100

build: workaround gcc 4.8 bug

tools/io.h:41:38:
error: ignoring return value of 'long int ftell(FILE*)',
declared with attribute warn_unused_result [-Werror=unused-result,-Werror]
       if (sizeof(T) != 1 && (ftell(fp) % sizeof(T))) {

Workaround gcc 4.8's wrongful idea that ftell's return value
were ignored.
---
 tools/io.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: spirv-tools-2018.4.g0/tools/io.h
===================================================================
--- spirv-tools-2018.4.g0.orig/tools/io.h
+++ spirv-tools-2018.4.g0/tools/io.h
@@ -38,7 +38,8 @@ bool ReadFile(const char* filename, cons
         return false;
       }
     } else {
-      if (sizeof(T) != 1 && (ftell(fp) % sizeof(T))) {
+      long ftx = ftell(fp);
+      if (sizeof(T) != 1 && ftx % sizeof(T) != 0) {
         fprintf(
             stderr,
             "error: file size should be a multiple of %zd; file '%s' 
corrupt\n",
++++++ ver.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2016-06-13 11:46:16.846841814 +0200

Unversioned libraries suck!

---
 source/CMakeLists.txt        |    2 ++
 source/fuzz/CMakeLists.txt   |    1 +
 source/link/CMakeLists.txt   |    1 +
 source/opt/CMakeLists.txt    |    1 +
 source/reduce/CMakeLists.txt |    1 +
 5 files changed, 6 insertions(+)

Index: spirv-tools-2019.5~git157/source/CMakeLists.txt
===================================================================
--- spirv-tools-2019.5~git157.orig/source/CMakeLists.txt
+++ spirv-tools-2019.5~git157/source/CMakeLists.txt
@@ -336,6 +336,7 @@ set_source_files_properties(
 spvtools_pch(SPIRV_SOURCES pch_source)
 
 add_library(${SPIRV_TOOLS} ${SPIRV_SOURCES})
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse17)
 spvtools_default_compile_options(${SPIRV_TOOLS})
 target_include_directories(${SPIRV_TOOLS}
   PUBLIC
@@ -349,6 +350,7 @@ spvtools_check_symbol_exports(${SPIRV_TO
 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 suse17)
 spvtools_default_compile_options(${SPIRV_TOOLS}-shared)
 target_include_directories(${SPIRV_TOOLS}-shared
   PUBLIC
Index: spirv-tools-2019.5~git157/source/fuzz/CMakeLists.txt
===================================================================
--- spirv-tools-2019.5~git157.orig/source/fuzz/CMakeLists.txt
+++ spirv-tools-2019.5~git157/source/fuzz/CMakeLists.txt
@@ -146,6 +146,7 @@ if(SPIRV_BUILD_FUZZER)
   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 suse17)
 
   spvtools_default_compile_options(SPIRV-Tools-fuzz)
   target_compile_definitions(SPIRV-Tools-fuzz PUBLIC -DGOOGLE_PROTOBUF_NO_RTTI 
-DGOOGLE_PROTOBUF_USE_UNALIGNED=0)
Index: spirv-tools-2019.5~git157/source/link/CMakeLists.txt
===================================================================
--- spirv-tools-2019.5~git157.orig/source/link/CMakeLists.txt
+++ spirv-tools-2019.5~git157/source/link/CMakeLists.txt
@@ -14,6 +14,7 @@
 add_library(SPIRV-Tools-link
   linker.cpp
 )
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse17)
 
 spvtools_default_compile_options(SPIRV-Tools-link)
 target_include_directories(SPIRV-Tools-link
Index: spirv-tools-2019.5~git157/source/opt/CMakeLists.txt
===================================================================
--- spirv-tools-2019.5~git157.orig/source/opt/CMakeLists.txt
+++ spirv-tools-2019.5~git157/source/opt/CMakeLists.txt
@@ -231,6 +231,7 @@ spvtools_pch(SPIRV_TOOLS_OPT_SOURCES pch
 
 add_library(SPIRV-Tools-opt ${SPIRV_TOOLS_OPT_SOURCES})
 
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse17)
 spvtools_default_compile_options(SPIRV-Tools-opt)
 target_include_directories(SPIRV-Tools-opt
   PUBLIC
Index: spirv-tools-2019.5~git157/source/reduce/CMakeLists.txt
===================================================================
--- spirv-tools-2019.5~git157.orig/source/reduce/CMakeLists.txt
+++ spirv-tools-2019.5~git157/source/reduce/CMakeLists.txt
@@ -83,6 +83,7 @@ target_include_directories(SPIRV-Tools-r
        $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
   PRIVATE ${spirv-tools_BINARY_DIR}
 )
+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}

Reply via email to