cmake: Disable parallelism
Message ID | 1453461019-7680-1-git-send-email-daniel.weismueller@ipfire.org |
---|---|
State | Accepted |
Commit | 92e4521572f0a5a6411ce74a7a70b9b65dcebb26 |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.tremer.info [172.28.1.200]) by septima.ipfire.org (Postfix) with ESMTP id 166B8612DF for <patchwork@ipfire.org>; Fri, 22 Jan 2016 12:10:32 +0100 (CET) Received: from hedwig.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 2E57CCBE; Fri, 22 Jan 2016 12:10:31 +0100 (CET) Received: from ipfire2-build.localdomain (dslb-178-000-020-143.178.000.pools.vodafone-ip.de [178.0.20.143]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id C0817CA4 for <development@lists.ipfire.org>; Fri, 22 Jan 2016 12:10:28 +0100 (CET) Received: from root (uid 0) (envelope-from root@ipfire2-build.localdomain) id 1411a3 by ipfire2-build.localdomain (DragonFly Mail Agent v0.10); Fri, 22 Jan 2016 12:10:27 +0100 From: =?UTF-8?q?Daniel=20Weism=C3=BCller?= <daniel.weismueller@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] cmake: Disable parallelism Date: Fri, 22 Jan 2016 12:10:19 +0100 Message-Id: <1453461019-7680-1-git-send-email-daniel.weismueller@ipfire.org> X-Mailer: git-send-email 2.4.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Daniel Weismueller
Jan. 22, 2016, 10:10 p.m. UTC
Building cmake uses a high amount of memory (>2G) and
fails to build on my system. Using less processes reduces
memory usage and lets the build succeed.
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
---
lfs/cmake | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Comments
Hello Daniel, thanks for this build fix. There might be others as well as someone has recently reported on the bugtracker that too much memory is used during the first build. Best, -Michael On Fri, 2016-01-22 at 12:10 +0100, Daniel Weismüller wrote: > Building cmake uses a high amount of memory (>2G) and > fails to build on my system. Using less processes reduces > memory usage and lets the build succeed. > > Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org> > --- > lfs/cmake | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/lfs/cmake b/lfs/cmake > index e3d2119..a9ada50 100644 > --- a/lfs/cmake > +++ b/lfs/cmake > @@ -32,9 +32,7 @@ DL_FROM = $(URL_IPFIRE) > DIR_APP = $(DIR_SRC)/$(THISAPP) > TARGET = $(DIR_INFO)/$(THISAPP) > > -ifeq "$(MACHINE)" "armv5tel" > - MAKETUNING = -j2 > -endif > +MAKETUNING = -j2 > > #################################################################### > ########### > # Top-level Rules