1
0

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
This commit is contained in:
Jan Engelhardt 2020-08-20 10:05:18 +00:00 committed by Git OBS Bridge
parent e843ea0ae2
commit 923bbe7a05
3 changed files with 13 additions and 2 deletions

8
_constraints Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<constraints>
<hardware>
<memoryperjob>
<size unit="M">2000</size>
</memoryperjob>
</hardware>
</constraints>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 20 09:09:54 UTC 2020 - Martin Liška <mliska@suse.cz>
- Use memoryperjob constraint instead of %limit_build macro.
-------------------------------------------------------------------
Wed Aug 19 11:24:44 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -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