Accepting request 632366 from home:Guillaume_G:branches:openSUSE:Factory:ARM

- Disable explictly neon on armv6 to fix build
- Add _constraints for ARM to speed-up build

OBS-URL: https://build.opensuse.org/request/show/632366
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/gnuradio?expand=0&rev=26
This commit is contained in:
Martin Pluskal 2018-08-31 07:01:42 +00:00 committed by Git OBS Bridge
parent a77792e96b
commit 7a1b9f9cf5
3 changed files with 30 additions and 1 deletions

15
_constraints Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<constraints>
<overwrite>
<conditions>
<arch>armv6l</arch>
<arch>armv7l</arch>
<arch>aarch64</arch>
</conditions>
<hardware>
<physicalmemory>
<size unit="G">8</size>
</physicalmemory>
</hardware>
</overwrite>
</constraints>

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Aug 30 18:35:50 UTC 2018 - guillaume.gardet@opensuse.org
- Disable explictly neon on armv6 to fix build
-------------------------------------------------------------------
Thu Aug 30 14:08:51 UTC 2018 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Add _constraints for ARM to speed-up build
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 18 16:41:20 UTC 2018 - wk@ire.pw.edu.pl Wed Jul 18 16:41:20 UTC 2018 - wk@ire.pw.edu.pl

View File

@ -201,7 +201,11 @@ sed -i 's|^HTML_TIMESTAMP = YES|HTML_TIMESTAMP = NO|' docs/doxyg
%build %build
%limit_build -m 2000 %limit_build -m 2000
%cmake %ifnarch armv6l armv6hl
%cmake
%else
%cmake -Dhave_mfpu_neon=0
%endif
%make_jobs %make_jobs
%install %install