The package rpms/mlpack.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/mlpack.git/commit/?id=f48b268c6f9....
Change:
+%ifarch armv7hl
Thanks.
Full change:
============
commit f48b268c6f9f37501e46f8f689eff7cf94851e59
Author: Ryan Curtin <ryan(a)ratml.org>
Date: Sun Sep 29 22:20:49 2019 +0000
Try these tricks only on armv7hl.
diff --git a/mlpack.spec b/mlpack.spec
index 975a7b2..9bf4f86 100644
--- a/mlpack.spec
+++ b/mlpack.spec
@@ -140,7 +140,9 @@ cp %SOURCE2 stb/;
%endif
# Try and reduce RAM usage.
-cmake -D CFLAGS=`echo %{optflags} | sed 's/-pipe//g' | sed 's/$/--param
ggc-min-heapsize=32768 --param ggc-min-expand=1/'` -D CXXFLAGS=`echo %{optflags} | sed
's/-pipe//g' | sed 's/$/--param ggc-min-heapsize=32768 --param
ggc-min-expand=1/'` .
+%ifarch armv7hl
+cmake -D CMAKE_C_FLAGS=`echo %{optflags} | sed 's/-pipe//g' | sed
's/$/--param ggc-min-heapsize=32768 --param ggc-min-expand=1/'` -D
CMAKE_CXX_FLAGS=`echo %{optflags} | sed 's/-pipe//g' | sed 's/$/--param
ggc-min-heapsize=32768 --param ggc-min-expand=1/'` .
+%endif
# Don't use %make because it could use too much RAM with multiple cores on Koji...
make