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}