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:
committed by
Git OBS Bridge
parent
b0ef6a0587
commit
58d534b9f6
@@ -56,6 +56,7 @@ BuildRequires: libsndfile-devel
|
||||
BuildRequires: libthrift-devel
|
||||
BuildRequires: libusb-1_0-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: memory-constraints
|
||||
BuildRequires: ninja
|
||||
BuildRequires: orc
|
||||
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' \;
|
||||
|
||||
%build
|
||||
%limit_build -m 1500
|
||||
|
||||
%define __builder ninja
|
||||
%cmake \
|
||||
-DENABLE_GRC=ON \
|
||||
|
Reference in New Issue
Block a user