From cdf070a6863d377c3a22b1574f993e870b622472ef3c83abc6a365c8de6547fc Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 16 Oct 2019 22:53:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=26 --- vulkan-validationlayers.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index 2d698a9..6a58789 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -31,6 +31,7 @@ Source9: %name-rpmlintrc BuildRequires: cmake >= 3.4 BuildRequires: gcc-c++ >= 4.8 BuildRequires: glslang-devel >= 7.12 +BuildRequires: memory-constraints BuildRequires: pkg-config BuildRequires: python3-base BuildRequires: spirv-tools-devel >= 2019.4~git33 @@ -49,6 +50,7 @@ This package contains the Khronos official Vulkan validation layers. %autosetup -n Vulkan-ValidationLayers-%version %build +%limit_build -m 2000 %cmake -DGLSLANG_INSTALL_DIR="%_bindir" make %{?_smp_mflags}