From 923bbe7a057fc44bf2c05fd75376e8b4b01100ab04fb701e7009da2fa0304787 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 20 Aug 2020 10:05:18 +0000 Subject: [PATCH] Accepting request 828090 from home:marxin:memory-constraint Use memoryperjob constraint instead of %limit_build macro. OBS-URL: https://build.opensuse.org/request/show/828090 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=60 --- _constraints | 8 ++++++++ vulkan-validationlayers.changes | 5 +++++ vulkan-validationlayers.spec | 2 -- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 _constraints diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..51762ba --- /dev/null +++ b/_constraints @@ -0,0 +1,8 @@ + + + + + 2000 + + + \ No newline at end of file diff --git a/vulkan-validationlayers.changes b/vulkan-validationlayers.changes index 35922d2..b336b5c 100644 --- a/vulkan-validationlayers.changes +++ b/vulkan-validationlayers.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 20 09:09:54 UTC 2020 - Martin Liška + +- Use memoryperjob constraint instead of %limit_build macro. + ------------------------------------------------------------------- Wed Aug 19 11:24:44 UTC 2020 - Jan Engelhardt diff --git a/vulkan-validationlayers.spec b/vulkan-validationlayers.spec index 28130c6..9b7faab 100644 --- a/vulkan-validationlayers.spec +++ b/vulkan-validationlayers.spec @@ -31,7 +31,6 @@ Patch1: ver.diff BuildRequires: cmake >= 3.4 BuildRequires: gcc-c++ >= 4.8 BuildRequires: glslang-devel >= 8.13.3727 -BuildRequires: memory-constraints BuildRequires: pkg-config BuildRequires: python3-base BuildRequires: spirv-headers @@ -71,7 +70,6 @@ This package contains support files for the VkLayer utility library. perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt %build -%limit_build -m 2000 %cmake -DGLSLANG_INSTALL_DIR="%_bindir" \ -DSPIRV_HEADERS_INSTALL_DIR="%_includedir" \ -DBUILD_LAYER_SUPPORT_FILES=ON