From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] DRAFT: build: Compile scheme modules in batches (was Re: Release!) Date: Sun, 08 Oct 2017 11:19:16 +0200 Message-ID: <8760bqngiz.fsf@elephly.net> References: <877f16z9eo.fsf@gnu.org> <87infv54m3.fsf@gnu.org> <87efqgnn7x.fsf@elephly.net> <87fuavzjms.fsf_-_@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e17kS-00015J-Us for guix-devel@gnu.org; Sun, 08 Oct 2017 05:19:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e17kP-0007Lu-NU for guix-devel@gnu.org; Sun, 08 Oct 2017 05:19:48 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21098) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e17kP-0007LX-HK for guix-devel@gnu.org; Sun, 08 Oct 2017 05:19:45 -0400 In-reply-to: <87fuavzjms.fsf_-_@netris.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Mark H Weaver Cc: guix-devel@gnu.org Hi Mark, > I've attached a workaround that I've been using for the last 6 weeks on > my MIPS-based Yeeloong running GuixSD, since it only has 1 GB of RAM and > otherwise it would not be able to successfully build the 'guix' package. > > Note that I never use 'guix pull', so I'm not sure off-hand whether this > solves the problem there, but it certainly greatly reduces the memory > needed to run 'make' and thus to build the 'guix' package. thank you for this patch. I’m trying it on my i686 with 1GB of RAM now. My own attempt to revert the commit to build all files in one process resulted in a guix pull that would only go to 20.4% and then sit there doing nothing. I’ll report back once I manage to run “guix pull --url=/path/to/guix” with this patch. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net