From 58d534b9f60c309ffdc1df06c81ed68e03c0081bd60f0d597602aa5fc05f700d Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 28 Dec 2022 12:17:20 +0000 Subject: [PATCH] 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 --- _constraints | 19 +++++-------------- gnuradio.changes | 7 +++++++ gnuradio.spec | 3 +++ 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/_constraints b/_constraints index c6c8f92..5cefe32 100644 --- a/_constraints +++ b/_constraints @@ -2,22 +2,13 @@ - 12 + 14 - 2000 + 1000 + + 4 + - - - armv6l - armv7l - aarch64 - - - - 8 - - - diff --git a/gnuradio.changes b/gnuradio.changes index a7ac36e..92f2e39 100644 --- a/gnuradio.changes +++ b/gnuradio.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Dec 28 10:04:35 UTC 2022 - Stefan BrĂ¼ns + +- 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 diff --git a/gnuradio.spec b/gnuradio.spec index 853fa7e..442b00c 100644 --- a/gnuradio.spec +++ b/gnuradio.spec @@ -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 \