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 15:26:18 +0200 Message-ID: <871smdojnp.fsf@elephly.net> References: <877f16z9eo.fsf@gnu.org> <87infv54m3.fsf@gnu.org> <87efqgnn7x.fsf@elephly.net> <87fuavzjms.fsf_-_@netris.org> <8760bqngiz.fsf@elephly.net> <87376tonh2.fsf@elephly.net> 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]:33102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1BbP-0008Eg-BL for guix-devel@gnu.org; Sun, 08 Oct 2017 09:26:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1BbM-0005sV-6B for guix-devel@gnu.org; Sun, 08 Oct 2017 09:26:43 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e1BbL-0005rx-SH for guix-devel@gnu.org; Sun, 08 Oct 2017 09:26:40 -0400 In-reply-to: <87376tonh2.fsf@elephly.net> 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 Ricardo Wurmus writes: > Ricardo Wurmus writes: > >>> 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. Well… I just noticed that guix pull doesn’t even use compile-all.scm; it uses build-self.scm, so this patch has no effect on “guix pull”. I’ll try to come up with another fix for guix pull. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net