forked from pool/telegram-desktop
Accepting request 828083 from home:marxin:memory-constraint
Use memoryperjob constraint instead of %limit_build macro. OBS-URL: https://build.opensuse.org/request/show/828083 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=151
This commit is contained in:
parent
8511fb10f5
commit
8a4c0f2818
@ -1,7 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<constraints>
|
<constraints>
|
||||||
<hardware>
|
<hardware>
|
||||||
<physicalmemory>
|
<physicalmemory>
|
||||||
<size unit="G">16</size>
|
<size unit="G">16</size>
|
||||||
</physicalmemory>
|
</physicalmemory>
|
||||||
|
<memoryperjob>
|
||||||
|
<size unit="M">2048</size>
|
||||||
|
</memoryperjob>
|
||||||
</hardware>
|
</hardware>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 20 09:06:04 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Use memoryperjob constraint instead of %limit_build macro.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 24 08:38:24 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
|
Wed Jun 24 08:38:24 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
|
||||||
|
|
||||||
|
@ -61,7 +61,6 @@ BuildRequires: libjpeg-devel
|
|||||||
BuildRequires: liblz4-devel
|
BuildRequires: liblz4-devel
|
||||||
BuildRequires: libqt5-qtbase-common-devel
|
BuildRequires: libqt5-qtbase-common-devel
|
||||||
BuildRequires: libqt5-qtimageformats-devel
|
BuildRequires: libqt5-qtimageformats-devel
|
||||||
BuildRequires: memory-constraints
|
|
||||||
BuildRequires: ninja
|
BuildRequires: ninja
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
@ -144,7 +143,6 @@ The service also provides APIs to independent developers.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%limit_build -m 2048
|
|
||||||
%if %{with fixed_gcc}
|
%if %{with fixed_gcc}
|
||||||
export CC=/usr/bin/gcc-9
|
export CC=/usr/bin/gcc-9
|
||||||
export CXX=/usr/bin/g++-9
|
export CXX=/usr/bin/g++-9
|
||||||
|
Loading…
Reference in New Issue
Block a user