try and use less optimisation

This commit is contained in:
Dave Airlie 2021-05-20 12:58:49 +10:00
parent 7ab9a69f6a
commit 3755abddc2

View File

@ -44,10 +44,7 @@ developing applications that use %{name}.
%build %build
# Decrease debuginfo verbosity to reduce memory consumption even more # Decrease debuginfo verbosity to reduce memory consumption even more
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /') %global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
%global optflags %(echo %{optflags} | sed 's/-O2 /-O1 /')
%ifarch %{ix86}
%global parallel -j1
%endif
%cmake3 -DCMAKE_BUILD_TYPE=Release \ %cmake3 -DCMAKE_BUILD_TYPE=Release \
-DGLSLANG_INSTALL_DIR=%{_prefix} \ -DGLSLANG_INSTALL_DIR=%{_prefix} \
@ -55,7 +52,7 @@ developing applications that use %{name}.
-DUSE_ROBIN_HOOD_HASHING:BOOL=OFF \ -DUSE_ROBIN_HOOD_HASHING:BOOL=OFF \
-DSPIRV_HEADERS_INSTALL_DIR=%{_includedir}/spirv \ -DSPIRV_HEADERS_INSTALL_DIR=%{_includedir}/spirv \
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/vulkan/ -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/vulkan/
%cmake_build %{?parallel} %cmake_build
%install %install