forked from pool/polymake
- Go back from _constraints file to %limit_build
OBS-URL: https://build.opensuse.org/package/show/science/polymake?expand=0&rev=9
This commit is contained in:
parent
02253be8d6
commit
4860e0a836
@ -7,8 +7,8 @@
|
||||
</memoryperjob>
|
||||
-->
|
||||
<physicalmemory>
|
||||
<!-- 3400x4 -->
|
||||
<size unit="M">13600</size>
|
||||
<!-- using %%limit_build, plus 200 for kernel -->
|
||||
<size unit="M">3600</size>
|
||||
</physicalmemory>
|
||||
</hardware>
|
||||
</constraints>
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 26 21:03:32 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Go back from _constraints file to %limit_build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 8 11:27:01 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user