Accepting request 893375 from graphics

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/893375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscad?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2021-05-16 21:41:48 +00:00 committed by Git OBS Bridge
commit 26b99229ab
3 changed files with 19 additions and 1 deletions

View File

@ -7,8 +7,10 @@
<memory>
<size unit="G">5</size>
</memory>
<!--
<memoryperjob>
<size unit="M">2200</size>
<size unit="M">2500</size>
</memoryperjob>
-->
</hardware>
</constraints>

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat May 8 07:00:15 UTC 2021 - Samu Voutilainen <smar@smar.fi>
- Reintroduce memory-contraints macro %limit_build -m 2500.
Constraint memoryperjob is allowing too small workers for
the jobs it provides.
-------------------------------------------------------------------
Thu May 6 05:08:29 UTC 2021 - Samu Voutilainen <smar@smar.fi>
- Increased memoryperjob constraint to 2500 MB.
-------------------------------------------------------------------
Tue Apr 20 11:48:29 UTC 2021 - Samu Voutilainen <smar@smar.fi>

View File

@ -39,6 +39,7 @@ BuildRequires: libboost_thread-devel
BuildRequires: libcgal-devel
BuildRequires: libqscintilla-qt5-devel
BuildRequires: libspnav-devel
BuildRequires: memory-constraints
BuildRequires: opencsg-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Concurrent)
@ -64,6 +65,9 @@ aspects, e.g. modelling of machine parts.
%build
%qmake5 PREFIX=%{_prefix} CONFIG+=qopenglwidget CONFIG+=c++14
# As of 08.05.2021, memoryperjob constraint is not working correctly,
# so limit memory per job here.
%limit_build -m 2500
%make_build
%install