forked from pool/gnuradio
Accepting request 1045618 from home:StefanBruens:branches:hardware:sdr
- Sanitize _constraints, 4GByte of memory is sufficient. Also, 2GByte memoryperjob rejects too many workers, so combine it with %limit_build. OBS-URL: https://build.opensuse.org/request/show/1045618 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/gnuradio?expand=0&rev=124
This commit is contained in:
parent
b0ef6a0587
commit
58d534b9f6
15
_constraints
15
_constraints
@ -2,22 +2,13 @@
|
|||||||
<constraints>
|
<constraints>
|
||||||
<hardware>
|
<hardware>
|
||||||
<disk>
|
<disk>
|
||||||
<size unit="G">12</size>
|
<size unit="G">14</size>
|
||||||
</disk>
|
</disk>
|
||||||
<memoryperjob>
|
<memoryperjob>
|
||||||
<size unit="M">2000</size>
|
<size unit="M">1000</size>
|
||||||
</memoryperjob>
|
</memoryperjob>
|
||||||
</hardware>
|
|
||||||
<overwrite>
|
|
||||||
<conditions>
|
|
||||||
<arch>armv6l</arch>
|
|
||||||
<arch>armv7l</arch>
|
|
||||||
<arch>aarch64</arch>
|
|
||||||
</conditions>
|
|
||||||
<hardware>
|
|
||||||
<memory>
|
<memory>
|
||||||
<size unit="G">8</size>
|
<size unit="G">4</size>
|
||||||
</memory>
|
</memory>
|
||||||
</hardware>
|
</hardware>
|
||||||
</overwrite>
|
|
||||||
</constraints>
|
</constraints>
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 28 10:04:35 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Sanitize _constraints, 4GByte of memory is sufficient. Also,
|
||||||
|
2GByte memoryperjob rejects too many workers, so combine it
|
||||||
|
with %limit_build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 19 19:00:26 UTC 2022 - Wojciech Kazubski <wk@ire.pw.edu.pl>
|
Mon Dec 19 19:00:26 UTC 2022 - Wojciech Kazubski <wk@ire.pw.edu.pl>
|
||||||
|
|
||||||
|
@ -56,6 +56,7 @@ BuildRequires: libsndfile-devel
|
|||||||
BuildRequires: libthrift-devel
|
BuildRequires: libthrift-devel
|
||||||
BuildRequires: libusb-1_0-devel
|
BuildRequires: libusb-1_0-devel
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
|
BuildRequires: memory-constraints
|
||||||
BuildRequires: ninja
|
BuildRequires: ninja
|
||||||
BuildRequires: orc
|
BuildRequires: orc
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -182,6 +183,8 @@ This package contains some examples of using GNU Radio.
|
|||||||
find gr-utils/modtool/templates/gr-newmod -name CMakeLists.txt -ls -exec mv '{}' '{}.tmpl' \;
|
find gr-utils/modtool/templates/gr-newmod -name CMakeLists.txt -ls -exec mv '{}' '{}.tmpl' \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%limit_build -m 1500
|
||||||
|
|
||||||
%define __builder ninja
|
%define __builder ninja
|
||||||
%cmake \
|
%cmake \
|
||||||
-DENABLE_GRC=ON \
|
-DENABLE_GRC=ON \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user