]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
boost: Reduce parallelism on ARM.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Mar 2013 14:14:27 +0000 (15:14 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Mar 2013 14:14:27 +0000 (15:14 +0100)
boost/boost.nm

index 07199435dadadad7d75e6da84b626e6f000c124a..889b3162701dc786ccca98e1911d618e17b5e932 100644 (file)
@@ -8,7 +8,7 @@ ver_major  = 1
 ver_minor  = 51
 ver_plevel = 0
 version    = %{ver_major}.%{ver_minor}.%{ver_plevel}
-release    = 1
+release    = 2
 
 groups     = System/Libraries
 url        = http://www.boost.org/
@@ -39,6 +39,13 @@ build
        CFLAGS   += -fno-strict-aliasing
        CXXFLAGS += -fno-strict-aliasing
 
+       # Don't build in parallel on ARM.
+       # The C++ compiles consumes too much memory, so
+       # we cannot run multiple instances at once.
+       if "%{DISTRO_PLATFORM}" == "arm"
+               PARALLELISMFLAGS = -j2
+       end
+
        configure_options = \
                --layout=tagged \
                --without-mpi \