- Update to new upstream release 7.8.2853
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=30
This commit is contained in:
parent
211bd4763c
commit
b0b0cdcad7
7
_service
7
_service
@ -2,9 +2,10 @@
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">git://github.com/KhronosGroup/glslang</param>
|
||||
<!-- minor part in glslang/Include/revision.h -->
|
||||
<param name="revision">a51525059f3f264c2337ae72997ca4e7ad7e17d0</param>
|
||||
<param name="versionformat">6.2.2604</param>
|
||||
<!-- minor part also in glslang/Include/revision.h -->
|
||||
<param name="revision">master</param>
|
||||
<param name="parent-tag">7.8.2853</param>
|
||||
<param name="versionformat">7.8.2853.g@TAG_OFFSET@</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb73b76b77bfa2442348418bfcac480f5eb807e70d706ac0a32ca504599e5019
|
||||
size 1317756
|
3
glslang-7.8.2853.g9.tar.xz
Normal file
3
glslang-7.8.2853.g9.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0739eea458882328820d6765231b5b8bb066d96c1f9dd7db8de023595a8db1c
|
||||
size 1365084
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 24 07:02:34 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 7.8.2853
|
||||
* Link/SPV: Correct symbol IDs on merging ASTs to a single coherent space.
|
||||
* Add missing OpExtension SPV_EXT_descriptor_indexing for dynamic indexing
|
||||
capabilities.
|
||||
* GLSL/Vulkan: Warn about arrays of arrays of resources that need bindings.
|
||||
* GLSL/SPV: Implement SPV_EXT_descriptor_indexing and
|
||||
GL_EXT_nonuniform_qualifier.
|
||||
* Implement GL_NV_shader_subgroup_partitioned.
|
||||
* Add support for GL_NV_shader_noperspective_interpolation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 8 00:39:46 UTC 2018 - jengelh@inai.de
|
||||
|
||||
|
44
glslang.spec
44
glslang.spec
@ -16,10 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define version_unconverted 6.2.2604
|
||||
%define version_unconverted 7.8.2853.g9
|
||||
|
||||
Name: glslang
|
||||
Version: 6.2.2604
|
||||
Version: 7.8.2853.g9
|
||||
Release: 0
|
||||
Summary: OpenGL and OpenGL ES shader front end and validator
|
||||
License: BSD-3-Clause
|
||||
@ -28,24 +28,35 @@ Url: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
|
||||
|
||||
Source: %name-%version.tar.xz
|
||||
Patch1: nodate.diff
|
||||
Patch2: ver.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: bison
|
||||
BuildRequires: cmake >= 2.8
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
%description
|
||||
glslang is the official reference compiler front end for the OpenGL
|
||||
ES and OpenGL shading languages. It implements a strict
|
||||
interpretation of the specifications for these languages.
|
||||
glslang is a compiler front end for the OpenGL ES and OpenGL shading
|
||||
languages. It implements a strict interpretation of the
|
||||
specifications for these languages.
|
||||
|
||||
%package -n libglslang-suse1
|
||||
Summary: OpenGL and OpenGL ES shader front end implementation
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libglslang-suse1
|
||||
glslang is a compiler front end for the OpenGL ES and OpenGL shading
|
||||
languages. It implements a strict interpretation of the
|
||||
specifications for these languages.
|
||||
|
||||
%package devel
|
||||
Summary: OpenGL and OpenGL ES shader front end and validator
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libglslang-suse1 = %version
|
||||
|
||||
%description devel
|
||||
glslang is the official reference compiler front end for the OpenGL
|
||||
ES and OpenGL shading languages. It implements a strict
|
||||
interpretation of the specifications for these languages.
|
||||
glslang is a compiler front end for the OpenGL ES and OpenGL shading
|
||||
languages. It implements a strict interpretation of the
|
||||
specifications for these languages.
|
||||
|
||||
spirv-remap is a utility to improve compression of SPIR-V binary
|
||||
files via entropy reduction, plus optional stripping of debug
|
||||
@ -56,11 +67,11 @@ better when multiple modules are compressed together, since
|
||||
compressor's dictionary can find better cross module commonality.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake
|
||||
# Trim -Wl,--no-undefnied for now
|
||||
%cmake -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -73,12 +84,23 @@ ln -s SPIRV/spirv.hpp "$b/%_includedir/"
|
||||
find "$b/%_includedir/" -type f -exec chmod a-x "{}" "+"
|
||||
cp build/StandAlone/libglslang-default-resource-limits.so "$b/%_libdir/"
|
||||
|
||||
%post -n libglslang-suse1 -p /sbin/ldconfig
|
||||
%postun -n libglslang-suse1 -p /sbin/ldconfig
|
||||
|
||||
%files -n libglslang-suse1
|
||||
%defattr(-,root,root)
|
||||
%_libdir/*.so.suse1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_bindir/gls*
|
||||
%_bindir/spirv*
|
||||
%_libdir/*.a
|
||||
%_libdir/*resource*.so
|
||||
%_libdir/libHLSL.so
|
||||
%_libdir/libSPIRV.so
|
||||
%_libdir/libSPVRemapper.so
|
||||
%_libdir/libglslang.so
|
||||
%_includedir/*
|
||||
|
||||
%changelog
|
||||
|
41
ver.diff
Normal file
41
ver.diff
Normal file
@ -0,0 +1,41 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2018-08-25 15:28:25.894943233 +0200
|
||||
|
||||
Unversioned libraries suck!
|
||||
|
||||
---
|
||||
SPIRV/CMakeLists.txt | 2 ++
|
||||
hlsl/CMakeLists.txt | 1 +
|
||||
2 files changed, 3 insertions(+)
|
||||
|
||||
Index: glslang-7.8.2853.g9/SPIRV/CMakeLists.txt
|
||||
===================================================================
|
||||
--- glslang-7.8.2853.g9.orig/SPIRV/CMakeLists.txt
|
||||
+++ glslang-7.8.2853.g9/SPIRV/CMakeLists.txt
|
||||
@@ -42,12 +42,14 @@ if(ENABLE_NV_EXTENSIONS)
|
||||
endif(ENABLE_NV_EXTENSIONS)
|
||||
|
||||
add_library(SPIRV ${LIB_TYPE} ${SOURCES} ${HEADERS})
|
||||
+set_target_properties(SPIRV PROPERTIES SOVERSION suse1)
|
||||
set_property(TARGET SPIRV PROPERTY FOLDER glslang)
|
||||
set_property(TARGET SPIRV PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
target_include_directories(SPIRV PUBLIC ..)
|
||||
|
||||
if (ENABLE_SPVREMAPPER)
|
||||
add_library(SPVRemapper ${LIB_TYPE} ${SPVREMAP_SOURCES} ${SPVREMAP_HEADERS})
|
||||
+ set_target_properties(SPVRemapper PROPERTIES SOVERSION suse1)
|
||||
set_property(TARGET SPVRemapper PROPERTY FOLDER glslang)
|
||||
set_property(TARGET SPVRemapper PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
endif()
|
||||
Index: glslang-7.8.2853.g9/hlsl/CMakeLists.txt
|
||||
===================================================================
|
||||
--- glslang-7.8.2853.g9.orig/hlsl/CMakeLists.txt
|
||||
+++ glslang-7.8.2853.g9/hlsl/CMakeLists.txt
|
||||
@@ -18,6 +18,7 @@ set(HEADERS
|
||||
hlslParseables.h)
|
||||
|
||||
add_library(HLSL ${LIB_TYPE} ${SOURCES} ${HEADERS})
|
||||
+set_target_properties(HLSL PROPERTIES SOVERSION suse1)
|
||||
set_property(TARGET HLSL PROPERTY FOLDER hlsl)
|
||||
set_property(TARGET HLSL PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
Loading…
Reference in New Issue
Block a user