From 4860e0a836eaa6cbc14c1d98f4171f588ed70126ad40162c66a7f87c046e0699 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 26 Sep 2020 21:05:51 +0000 Subject: [PATCH] - Go back from _constraints file to %limit_build OBS-URL: https://build.opensuse.org/package/show/science/polymake?expand=0&rev=9 --- _constraints | 4 ++-- polymake.changes | 5 +++++ polymake.spec | 7 +++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/_constraints b/_constraints index baa391d..2da2be5 100644 --- a/_constraints +++ b/_constraints @@ -7,8 +7,8 @@ --> - - 13600 + + 3600 diff --git a/polymake.changes b/polymake.changes index 95afd36..9ec5dea 100644 --- a/polymake.changes +++ b/polymake.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 26 21:03:32 UTC 2020 - Jan Engelhardt + +- Go back from _constraints file to %limit_build + ------------------------------------------------------------------- Tue Sep 8 11:27:01 UTC 2020 - Jan Engelhardt diff --git a/polymake.spec b/polymake.spec index eb94faa..88f2439 100644 --- a/polymake.spec +++ b/polymake.spec @@ -80,12 +80,15 @@ objects, and other objects. %autosetup -p1 %build -cat /proc/meminfo # Not AC. ./configure --prefix="%_prefix" --libdir="%_libdir" \ --libexecdir="%_libdir/%name-%version" --without-native \ CFLAGS="%optflags" CXXFLAGS="%optflags" CXXOPT="%optflags" -%limit_build -m 1400 +# can't replace limit_build by _constraints file: +# * asking memoryperjob=3400 -> unsatisfiable i586 workers +# (github.com/openSUSE/open-build-service/issues/10167) +# * asking physicalmemory=13600 -> unsatisfiable ppc64 workers +%limit_build -m 3400 make NINJA="ninja %{?_smp_mflags}" %install