1
0

Accepting request 828067 from home:marxin:memory-constraint

Use memoryperjob constraint instead of %limit_build macro.

OBS-URL: https://build.opensuse.org/request/show/828067
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=544
This commit is contained in:
Wolfgang Rosenauer 2020-08-20 10:39:48 +00:00 committed by Git OBS Bridge
parent 17467a5a91
commit cfff8c3277
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 20 08:57:15 UTC 2020 - Martin Liška <mliska@suse.cz>
- Use memoryperjob constraint instead of %limit_build macro.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 1 09:54:53 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de> Sat Aug 1 09:54:53 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -75,7 +75,6 @@ BuildRequires: libXcomposite-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libidl-devel BuildRequires: libidl-devel
BuildRequires: libnotify-devel BuildRequires: libnotify-devel
BuildRequires: memory-constraints
BuildRequires: mozilla-nspr-devel >= 4.21 BuildRequires: mozilla-nspr-devel >= 4.21
BuildRequires: mozilla-nss-devel >= 3.44.4 BuildRequires: mozilla-nss-devel >= 3.44.4
BuildRequires: nasm >= 2.13 BuildRequires: nasm >= 2.13
@ -327,7 +326,6 @@ echo "export RUSTFLAGS=\"$RUSTFLAGS\""
echo "" echo ""
cat << EOF cat << EOF
%else %else
%limit_build -m 2000
export MOZ_DEBUG_FLAGS="-pipe" export MOZ_DEBUG_FLAGS="-pipe"
cat << EOF > $MOZCONFIG cat << EOF > $MOZCONFIG
%endif %endif

View File

@ -7,6 +7,9 @@
<memory> <memory>
<size unit="G">9</size> <size unit="G">9</size>
</memory> </memory>
<memoryperjob>
<size unit="M">2000</size>
</memoryperjob>
</hardware> </hardware>
<overwrite> <overwrite>
<conditions> <conditions>