From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] cmake: Disable parallelism Date: Fri, 22 Jan 2016 11:48:34 +0000 Message-ID: <1453463314.585.27.camel@ipfire.org> In-Reply-To: <1453461019-7680-1-git-send-email-daniel.weismueller@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6669833666934797183==" List-Id: --===============6669833666934797183== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 > --- > 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 --===============6669833666934797183== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEKCmlRSWNCQUFC Q2dBR0JRSldvaGNTQUFvSkVJQjU4UDl2a0FrSDlPTVFBSWNRZzhYZ1ozMEJOa3ppYmM0K1dNa2IK QXVOT2NwZTFQdkYwWm56QlNXaTdieDIrd0ZLQ2I2ZzNvSXl0ZWdiMjVXRkFMRk5vcUEwUEhLVXZZ dzBaS0sxLwpSTjlDU09hbFNr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