From 2d194874a20dc72b603838380d569472ab2387a7 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 7 Mar 2013 15:14:27 +0100 Subject: [PATCH] boost: Reduce parallelism on ARM. --- boost/boost.nm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/boost/boost.nm b/boost/boost.nm index 07199435d..889b31627 100644 --- a/boost/boost.nm +++ b/boost/boost.nm @@ -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 \ -- 2.39.5