From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12045 invoked by uid 1002); 7 Apr 2003 02:10:46 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 29726 invoked from network); 7 Apr 2003 02:10:46 -0000 From: George Shapovalov Organization: Gentoo Linux To: gentoo-dev@gentoo.org Date: Sun, 6 Apr 2003 19:10:42 -0700 User-Agent: KMail/1.5.1 References: <3E90CD58.2090709@esoterica.pt> In-Reply-To: <3E90CD58.2090709@esoterica.pt> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304061910.42367.george@gentoo.org> X-Spam-Status: No, hits=-4.6 required=5.0 tests=CARRIAGE_RETURNS,IN_REP_TO,NOSPAM_INC,QUOTED_EMAIL_TEXT, REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL version=2.43 X-Spam-Level: Subject: Re: [gentoo-dev] How to interrupt/resume? X-Archives-Salt: 9e133919-e395-4b68-9e20-818b6e279311 X-Archives-Hash: d72c6095086abe149c5842385040846b As was pointed up above, yes, you can inerrupt and resume builds. To interrupt use... you won't believe me, Ctrl-C at any time ;). Portage registers installed packages (including lists of installed files and a bunch of other information) in the database as it goes along. So, when you run emerge again, it will pick up from the last package it was building. You will have to specifically force rebuild of *all* packages that are required for the one you are emerging if you so desire.. Therefore it is not necessary to emerge system package by package. Though this might be usefull during bootstrap (the precedeeng step), however even in this case it is IMHO easier to modify the script itself.. Now, there is the issue of that last package, that was interrupted. emerge --resume will only restart last emerge command, it will not pick up from where the compilation was interrupted. Instead you should consider using ccache (just emerge it, portage will see and use it. You might want to set CCACHE_DIR though). This will cache all compiles made by gcc, and thus significantly cut duplicated compile time. Also, if you have access to more boxes on a local LAN, you can try using distcc - this will distribute compile tasks to all involved hosts.. George On Sunday 06 April 2003 17:59, Paulo da Silva wrote: > I am about to give gentoo a try. > Because of my relatively slow CPU, I would like to interrupt > the compilation process and be able to resume it later. > Is there a way to do that? If there are any docs where this is > described, pls just tell me how/where to get them. > > TIA -- gentoo-dev@gentoo.org mailing list