SHA256
1
0
forked from pool/shaderc

6 Commits

4 changed files with 45 additions and 10 deletions

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Thu Mar 13 17:18:36 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Switch Leap build to newer gcc 13
-------------------------------------------------------------------
Wed Mar 12 17:58:08 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.1
* Build system updates only
-------------------------------------------------------------------
Tue Dec 24 02:37:17 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.4
* Vulkan 1.4 support
-------------------------------------------------------------------
Tue Oct 8 16:02:50 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.3
* During HLSL compilation or any optimizing compile, do not
tell the validator to use "friendly names". This should save
time spent in the initial validation step of the optimization
recipe.
* Adapt test golden results to Glslang changes which reorder
decorations by object enum value.
-------------------------------------------------------------------
Thu May 16 12:10:06 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package shaderc
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,8 +18,12 @@
# Remember to bump in baselibs.conf
%define lname libshaderc_shared1
%if 0%{?suse_version} < 1600
%define gcc_version 13
%endif
Name: shaderc
Version: 2024.1
Version: 2025.1
Release: 0
Summary: A collection of tools, libraries and tests for shader compilation
License: Apache-2.0
@@ -29,13 +33,14 @@ URL: https://github.com/google/shaderc
Source: https://github.com/google/shaderc/archive/v%version.tar.gz
Source99: baselibs.conf
Patch1: 0001-Use-system-third-party-libs.patch
BuildRequires: c++_compiler
BuildRequires: cmake >= 2.8.12
BuildRequires: glslang-devel >= 14.1.0
BuildRequires: gcc%{?gcc_version} >= 9
BuildRequires: gcc%{?gcc_version}-c++ >= 9
BuildRequires: glslang-devel >= 15.1
BuildRequires: glslang-nonstd-devel
BuildRequires: python3-base
BuildRequires: spirv-headers >= 1.6.1~sdk280
BuildRequires: spirv-tools-devel >= 2024.1~rc1
BuildRequires: spirv-headers >= 1.6.4+sdk304
BuildRequires: spirv-tools-devel >= 2025.1~rc1
%description
A collection of tools, libraries and tests for shader compilation.
@@ -73,7 +78,9 @@ find . -type f -exec grep -l '#!/usr/bin/env python' {} + | xargs perl -i -lpe '
%build
export CXXFLAGS="%{optflags} -I%_includedir/External"
%cmake -DSHADERC_SKIP_TESTS=ON
%cmake -DSHADERC_SKIP_TESTS=ON \
-DCMAKE_C_COMPILER="gcc%{?gcc_version:-%{gcc_version}}" \
-DCMAKE_CXX_COMPILER="g++%{?gcc_version:-%{gcc_version}}"
%cmake_build
%install

View File

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

BIN
v2025.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.