- Update to release 2023.2
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=97
This commit is contained in:
parent
95509299bd
commit
122bee4e4d
@ -1,4 +1,4 @@
|
|||||||
libSPIRV-Tools-2023_1
|
libSPIRV-Tools-2023_2
|
||||||
spirv-tools-devel
|
spirv-tools-devel
|
||||||
requires -spirv-tools-<targettype>
|
requires -spirv-tools-<targettype>
|
||||||
requires "libSPIRV-Tools-2023_1-<targettype> = <version>"
|
requires "libSPIRV-Tools-2023_2-<targettype> = <version>"
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 30 07:42:40 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 2023.2
|
||||||
|
* spirv-val: Initial SPV_EXT_mesh_shader builtins
|
||||||
|
* Add C interface for Optimizer
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 29 18:42:49 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
Wed Mar 29 18:42:49 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
|
|
||||||
|
|
||||||
%define _lto_cflags %nil
|
%define _lto_cflags %nil
|
||||||
%define lname libSPIRV-Tools-2023_1
|
%define lname libSPIRV-Tools-2023_2
|
||||||
|
|
||||||
Name: spirv-tools
|
Name: spirv-tools
|
||||||
Version: 2023.1
|
Version: 2023.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,12 +31,12 @@ Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v%
|
|||||||
Source9: baselibs.conf
|
Source9: baselibs.conf
|
||||||
Patch1: ver.diff
|
Patch1: ver.diff
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: cmake >= 2.8.12
|
BuildRequires: cmake >= 3.17.2
|
||||||
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.6.1+sdk239
|
BuildRequires: spirv-headers >= 1.6.1+sdk243
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The package includes an assembler, binary module parser,
|
The package includes an assembler, binary module parser,
|
||||||
@ -64,10 +64,9 @@ validator, and is used in the standalone tools whilst also enabling
|
|||||||
integration into other code bases directly.
|
integration into other code bases directly.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%define slibv 2023.1
|
|
||||||
%autosetup -p1 -n SPIRV-Tools-%version
|
%autosetup -p1 -n SPIRV-Tools-%version
|
||||||
find . -type f -name CMakeLists.txt -exec \
|
find . -type f -name CMakeLists.txt -exec \
|
||||||
perl -i -pe 's{\@PACKAGE_VERSION\@}{%slibv}' CMakeLists.txt {} +
|
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt {} +
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DSPIRV-Headers_SOURCE_DIR="%_prefix" \
|
%cmake -DSPIRV-Headers_SOURCE_DIR="%_prefix" \
|
||||||
@ -78,7 +77,7 @@ find . -type f -name CMakeLists.txt -exec \
|
|||||||
%cmake_install
|
%cmake_install
|
||||||
perl -i -lpe 's{^#!/usr/bin/env sh$}{#!/bin/sh}' "%buildroot/%_bindir/spirv-lesspipe.sh"
|
perl -i -lpe 's{^#!/usr/bin/env sh$}{#!/bin/sh}' "%buildroot/%_bindir/spirv-lesspipe.sh"
|
||||||
for i in "" "-diff" "-link" "-lint" "-opt" "-reduce" "-shared"; do
|
for i in "" "-diff" "-link" "-lint" "-opt" "-reduce" "-shared"; do
|
||||||
ln -s "libSPIRV-Tools$i-%slibv.so" "%buildroot/%_libdir/libSPIRV-Tools$i.so"
|
ln -s "libSPIRV-Tools$i-%version.so" "%buildroot/%_libdir/libSPIRV-Tools$i.so"
|
||||||
done
|
done
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f3d8245aeb89f098c01dddaa566f9c0f2aab4a3d62a9020afaeb676b5e7e64d4
|
|
||||||
size 3087466
|
|
3
v2023.2.tar.gz
Normal file
3
v2023.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7416cc8a98a10c32bacc36a39930b0c5b2a484963df5d68f388ed7ffee1faad3
|
||||||
|
size 3101345
|
Loading…
Reference in New Issue
Block a user