From 3755abddc2147ef98d2b9a1922e8b64a4ce8a4d3 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 20 May 2021 12:58:49 +1000 Subject: [PATCH] try and use less optimisation --- vulkan-validation-layers.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/vulkan-validation-layers.spec b/vulkan-validation-layers.spec index 9ed92af..828be17 100644 --- a/vulkan-validation-layers.spec +++ b/vulkan-validation-layers.spec @@ -44,10 +44,7 @@ developing applications that use %{name}. %build # Decrease debuginfo verbosity to reduce memory consumption even more %global optflags %(echo %{optflags} | sed 's/-g /-g1 /') - -%ifarch %{ix86} -%global parallel -j1 -%endif +%global optflags %(echo %{optflags} | sed 's/-O2 /-O1 /') %cmake3 -DCMAKE_BUILD_TYPE=Release \ -DGLSLANG_INSTALL_DIR=%{_prefix} \ @@ -55,7 +52,7 @@ developing applications that use %{name}. -DUSE_ROBIN_HOOD_HASHING:BOOL=OFF \ -DSPIRV_HEADERS_INSTALL_DIR=%{_includedir}/spirv \ -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/vulkan/ -%cmake_build %{?parallel} +%cmake_build %install