Use ninja to build
This commit is contained in:
parent
a9c708dcc0
commit
6dfd4a16e1
13
glslang.spec
13
glslang.spec
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: glslang
|
Name: glslang
|
||||||
Version: 3.1
|
Version: 3.1
|
||||||
Release: 0.4%{?gitrel}%{?dist}
|
Release: 0.5%{?gitrel}%{?dist}
|
||||||
Summary: OpenGL and OpenGL ES shader front end and validator
|
Summary: OpenGL and OpenGL ES shader front end and validator
|
||||||
|
|
||||||
License: BSD and GPLv3+ and ASL 2.0
|
License: BSD and GPLv3+ and ASL 2.0
|
||||||
@ -17,6 +17,7 @@ Patch2: glslang_tests.patch
|
|||||||
|
|
||||||
BuildRequires: cmake3
|
BuildRequires: cmake3
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: ninja-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{name} is the official reference compiler front end for the OpenGL
|
%{name} is the official reference compiler front end for the OpenGL
|
||||||
@ -42,12 +43,13 @@ find . -name '*.h' -or -name '*.cpp' -or -name '*.hpp'| xargs chmod a-x
|
|||||||
pushd build
|
pushd build
|
||||||
%cmake3 -DCMAKE_BUILD_TYPE=Release \
|
%cmake3 -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
|
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=yes ..
|
-DCMAKE_SKIP_RPATH:BOOL=yes \
|
||||||
%{make_build}
|
-GNinja ..
|
||||||
|
%{ninja_build}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{make_install} -C build
|
%{ninja_install} -C build
|
||||||
|
|
||||||
%ifnarch s390x ppc64
|
%ifnarch s390x ppc64
|
||||||
%check
|
%check
|
||||||
@ -76,6 +78,9 @@ install -pm 0644 build/StandAlone/libglslang-default-resource-limits.a %{buildro
|
|||||||
%{_libdir}/libglslang-default-resource-limits.a
|
%{_libdir}/libglslang-default-resource-limits.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 09 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.1-0.5.20171028.git715c353
|
||||||
|
- Use ninja to build
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-0.4.20171028.git715c353
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-0.4.20171028.git715c353
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user