[gnuradio] Enabled optional building with NEON support on aarch64

Jaroslav Škarvada jskarvad at fedoraproject.org
Thu Mar 12 08:08:34 UTC 2015


commit ad93107ec2e413106aa043d2ee4020a4efedc99d
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date:   Thu Mar 12 09:08:30 2015 +0100

    Enabled optional building with NEON support on aarch64
    
    - Built with -j1 to prevent internal compiler errors due to excessive
      use of resources

 gnuradio.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/gnuradio.spec b/gnuradio.spec
index 539ecdc..f95f99a 100644
--- a/gnuradio.spec
+++ b/gnuradio.spec
@@ -2,7 +2,6 @@
 %bcond_with neon
 
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-%{?_smp_mflags: %global my_smp_mflags %(echo "%{_smp_mflags}" | sed 's/-j[0-9]\\+/-j1/g')}
 
 %ifarch %{arm} aarch64
 %if %{with neon}
@@ -139,10 +138,11 @@ cd build
 %{?mfpu_neon} \
 ..
 
-## make with -j1 and compile without strict-aliasing
-#make %{?my_smp_mflags} CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags} -fno-strict-aliasing"
+# make with -j1 to prevent internal compiler errors due to excessive
+# use of resources
+make -j1 CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags} -fno-strict-aliasing"
 
-make %{?_smp_mflags} CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags} -fno-strict-aliasing"
+#make %{?_smp_mflags} CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags} -fno-strict-aliasing"
 
 %install
 rm -rf %{buildroot}
@@ -203,6 +203,8 @@ rm -rf %{buildroot}
 %changelog
 * Wed Mar 11 2015 Jaroslav Škarvada <jskarvad at redhat.com> - 3.7.6.1-2
 - Enabled optional building with NEON support on aarch64
+- Built with -j1 to prevent internal compiler errors due to excessive
+  use of resources
 
 * Thu Feb 19 2015 Jaroslav Škarvada <jskarvad at redhat.com> - 3.7.6.1-1
 - New version


More information about the scm-commits mailing list