On Mon, 9 Apr 2018, Adam Majer wrote:
On 04/06/2018 03:52 PM, Tomas Chvatal wrote:
BuildRequires: memory-constraints
%build # require 2GB mem per thread %limit_build -m 2000 make %{?_smp_mflags}
Great job!
This macro was sorely needed in OBS. I remember old boost has had some hax similar to this macro to try to limit number of parallel jobs. Of course, your version is much better.
I suspect this macro is mostly needed on non-x86_64 arches though.
Now we need this macro in SLE-15 too ;)
I still think this belongs to _constraints ...
Richard.
--
Richard Biener