- Reintroduce memory-contraints macro %limit_build -m 2500.

Constraint memoryperjob is allowing too small workers for 
  the jobs it provides.

OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=40
This commit is contained in:
Samu Voutilainen 2021-05-08 07:14:47 +00:00 committed by Git OBS Bridge
parent d5bcf2af2e
commit cd9a4d1bec
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
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>

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