forked from pool/shaderc
Compare commits
12 Commits
Author | SHA256 | Date | |
---|---|---|---|
c710c19000 | |||
|
7a262c054d | ||
|
a206c2f5f4 | ||
f15aa0e02c | |||
|
f508c7911e | ||
5c5d7c9ee9 | |||
|
01b3199cc7 | ||
dd218a791a | |||
|
07b2e2081e | ||
8c835777aa | |||
|
5ae6eec9ef | ||
d02995ab72 |
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
||||
mtime: 1751101305
|
||||
commit: 63a5761095a35bb05617ca9e29566bd66b3ca86a6ea509f175e4f215f9eef6d3
|
||||
url: https://src.opensuse.org/jengelh/shaderc
|
||||
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3a9b55e280d84ba6d76bdcbefcce627ff735eb26e162a581484a7e1ee3e8408
|
||||
size 256
|
@@ -1,3 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 28 08:22:26 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2025.3
|
||||
* Added a way to disable the glsc CLI executable.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
22
shaderc.spec
22
shaderc.spec
@@ -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.3
|
||||
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} >= 13
|
||||
BuildRequires: gcc%{?gcc_version}-c++ >= 13
|
||||
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.
|
||||
@@ -69,11 +74,12 @@ Shaderc wraps around core functionality in glslang and SPIRV-Tools
|
||||
%autosetup -p1
|
||||
chmod a+x utils/update_build_version.sh
|
||||
echo "\"%version\"" >glslc/src/build-version.inc
|
||||
find . -type f -exec grep -l '#!/usr/bin/env python' {} + | xargs perl -i -lpe 's{/env python\w*}{/python3}g'
|
||||
|
||||
%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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb3b5f0c16313d34f208d90c2fa1e588a23283eed63b101edd5422be6165d528
|
||||
size 227211
|
BIN
v2025.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
v2025.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user