Accepting request 1103590 from home:adamm:ldbug

- Remove -j1 limit on x86. The build runs on 64-bit kernel with a
  32-bit userland. This means there is plenty of memory available
  but userland is limited to just under 4GB per process.

OBS-URL: https://build.opensuse.org/request/show/1103590
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=1098
This commit is contained in:
Wolfgang Rosenauer 2023-08-12 20:13:40 +00:00 committed by Git OBS Bridge
parent 5ef499faa4
commit 062ac2aed4
2 changed files with 4 additions and 5 deletions

View File

@ -7,7 +7,10 @@ Thu Aug 10 16:32:02 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
-------------------------------------------------------------------
Wed Aug 9 09:52:36 UTC 2023 - Adam Majer <adam.majer@suse.de>
- Fix OOM when linking on 32-bit
- Workarold ld bug causing OOM when linking on 32-bit
- Remove -j1 limit on x86. The build runs on 64-bit kernel with a
32-bit userland. This means there is plenty of memory available
but userland is limited to just under 4GB per process.
-------------------------------------------------------------------
Sat Aug 5 17:46:22 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -527,11 +527,7 @@ ac_add_options --enable-official-branding
%endif
EOF
%ifarch %ix86
%define njobs 1
%else
%define njobs 0%{?jobs:%jobs}
%endif
mkdir -p $RPM_BUILD_DIR/langpacks_artifacts/
sed -r '/^(ja-JP-mac|ga-IE|en-US|)$/d;s/ .*$//' $RPM_BUILD_DIR/%{srcname}-%{orig_version}/browser/locales/shipped-locales \
| xargs -n 1 %{?njobs:-P %njobs} -I {} /bin/sh -c '