parent
6c6d752d4a
commit
10e561d886
16
glslang.spec
16
glslang.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: glslang
|
||||
Version: 14.2.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: OpenGL and OpenGL ES shader front end and validator
|
||||
|
||||
License: BSD-2-Clause AND BSD-3-Clause AND GPL-3.0-or-later AND Apache-2.0
|
||||
@ -15,6 +15,7 @@ Patch3: 0001-pkg-config-compatibility.patch
|
||||
BuildRequires: cmake3
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: python3
|
||||
BuildRequires: spirv-tools-devel
|
||||
|
||||
%description
|
||||
@ -37,7 +38,7 @@ interpretation of the specifications for these languages.
|
||||
find . -name '*.h' -or -name '*.cpp' -or -name '*.hpp'| xargs chmod a-x
|
||||
|
||||
%build
|
||||
%cmake3 -DBUILD_SHARED_LIBS=OFF
|
||||
%cmake3 -DBUILD_SHARED_LIBS=OFF -DCMAKE_CXX_STANDARD_LIBRARIES="-lstdc++fs"
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
@ -46,13 +47,6 @@ find . -name '*.h' -or -name '*.cpp' -or -name '*.hpp'| xargs chmod a-x
|
||||
# we don't want them in here
|
||||
rm -rf %{buildroot}%{_includedir}/SPIRV
|
||||
|
||||
%ifnarch s390x ppc64
|
||||
%check
|
||||
pushd Test
|
||||
./runtests localResults ../%{_vpath_builddir}/StandAlone/glslangValidator ../%{_vpath_builddir}/StandAlone/spirv-remap
|
||||
popd
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc README.md README-spirv-remap.txt
|
||||
%{_bindir}/glslang
|
||||
@ -73,6 +67,10 @@ popd
|
||||
%{_libdir}/cmake/*
|
||||
|
||||
%changelog
|
||||
* Wed Sep 11 2024 José Expósito <jexposit@redhat.com> - 14.2.0-2
|
||||
- RHEL 8 fixes
|
||||
Resolves: https://issues.redhat.com/browse/RHEL-54282
|
||||
|
||||
* Wed Sep 11 2024 José Expósito <jexposit@redhat.com> - 14.2.0-1
|
||||
- Update to 1.3.283.0 SDK
|
||||
Resolves: https://issues.redhat.com/browse/RHEL-54282
|
||||
|
Loading…
Reference in New Issue
Block a user