public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] Is there any way to stop compilation and resume it later (after a reboot)?
@ 2010-02-19 16:01 Pacho Ramos
  2010-02-19 16:09 ` Ghislain Bourgeois
  0 siblings, 1 reply; 6+ messages in thread
From: Pacho Ramos @ 2010-02-19 16:01 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 370 bytes --]

Hello

This is a problem I get every time openoffice needs to be
recompiled :-S, it takes really a long time to do it (~10 hours) then,
sometimes I need to stop compilation for halting system and, then, I
need to start it again some different day.

Is there any way for stopping compilation and resume it later using
already compiled files?

Thanks a lot :-)

[-- Attachment #2: Esta parte del mensaje está firmada digitalmente --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-portage-dev] Is there any way to stop compilation and  resume it later (after a reboot)?
  2010-02-19 16:01 [gentoo-portage-dev] Is there any way to stop compilation and resume it later (after a reboot)? Pacho Ramos
@ 2010-02-19 16:09 ` Ghislain Bourgeois
  2010-02-19 16:44   ` Pacho Ramos
  0 siblings, 1 reply; 6+ messages in thread
From: Ghislain Bourgeois @ 2010-02-19 16:09 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

Hi,

Best way I know is to use ccache and emerge --resume. But that is not
exactly what you are asking for.

Ghislain Bourgeois

2010/2/19 Pacho Ramos <pacho@condmat1.ciencias.uniovi.es>

> Hello
>
> This is a problem I get every time openoffice needs to be
> recompiled :-S, it takes really a long time to do it (~10 hours) then,
> sometimes I need to stop compilation for halting system and, then, I
> need to start it again some different day.
>
> Is there any way for stopping compilation and resume it later using
> already compiled files?
>
> Thanks a lot :-)
>

[-- Attachment #2: Type: text/html, Size: 898 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-portage-dev] Is there any way to stop compilation and resume it later (after a reboot)?
  2010-02-19 16:09 ` Ghislain Bourgeois
@ 2010-02-19 16:44   ` Pacho Ramos
  2010-02-19 18:58     ` Zac Medico
  0 siblings, 1 reply; 6+ messages in thread
From: Pacho Ramos @ 2010-02-19 16:44 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

El vie, 19-02-2010 a las 11:09 -0500, Ghislain Bourgeois escribió:
> Hi,
> 
> 
> Best way I know is to use ccache and emerge --resume. But that is not
> exactly what you are asking for. 
> 

I already use ccache and, even speeding it up, I still have to wait some
hours :-(

Another option could be to hibernate the system but, in some machines
hibernation doesn't even work

Best regards

[-- Attachment #2: Esta parte del mensaje está firmada digitalmente --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-portage-dev] Is there any way to stop compilation and resume it later (after a reboot)?
  2010-02-19 16:44   ` Pacho Ramos
@ 2010-02-19 18:58     ` Zac Medico
  2010-02-19 19:17       ` Pacho Ramos
  0 siblings, 1 reply; 6+ messages in thread
From: Zac Medico @ 2010-02-19 18:58 UTC (permalink / raw
  To: gentoo-portage-dev

On 02/19/2010 08:44 AM, Pacho Ramos wrote:
> Another option could be to hibernate the system but, in some machines
> hibernation doesn't even work

That might work but it's a little extreme. You might want to
consider switching to openoffice-bin unless you can find a faster
computer to build on. I have a 1.6 GHz core 2 duo and my last
openoffice build took less than 2 hours.
-- 
Thanks,
Zac



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-portage-dev] Is there any way to stop compilation and resume it later (after a reboot)?
  2010-02-19 18:58     ` Zac Medico
@ 2010-02-19 19:17       ` Pacho Ramos
  2010-02-19 19:30         ` Zac Medico
  0 siblings, 1 reply; 6+ messages in thread
From: Pacho Ramos @ 2010-02-19 19:17 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

El vie, 19-02-2010 a las 10:58 -0800, Zac Medico escribió:
> On 02/19/2010 08:44 AM, Pacho Ramos wrote:
> > Another option could be to hibernate the system but, in some machines
> > hibernation doesn't even work
> 
> That might work but it's a little extreme. You might want to
> consider switching to openoffice-bin unless you can find a faster
> computer to build on. I have a 1.6 GHz core 2 duo and my last
> openoffice build took less than 2 hours.

I use openoffice over openoffice-bin because it's a bit different and
opens more "exotic" doc files :-/

If I don't misremember, when compiling manually I was able to press Ctrl
+C and, later, run again "make" and it continued, is not possible to do
that through emerge then? I mean, run src_compile phase from "uncleaned"
sources dir

Best regards

[-- Attachment #2: Esta parte del mensaje está firmada digitalmente --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-portage-dev] Is there any way to stop compilation and resume it later (after a reboot)?
  2010-02-19 19:17       ` Pacho Ramos
@ 2010-02-19 19:30         ` Zac Medico
  0 siblings, 0 replies; 6+ messages in thread
From: Zac Medico @ 2010-02-19 19:30 UTC (permalink / raw
  To: gentoo-portage-dev

On 02/19/2010 11:17 AM, Pacho Ramos wrote:
> If I don't misremember, when compiling manually I was able to press Ctrl
> +C and, later, run again "make" and it continued, is not possible to do
> that through emerge then? I mean, run src_compile phase from "uncleaned"
> sources dir

You can use FEATURES=keepwork for that, but generally this approach
isn't recommended because the ebuilds aren't as well tested in this
mode and therefore you are more likely to encounter bugs. If you
must use FEATURES=keepwork, make sure that you disable it as soon as
possible since it's poor practice to keep it enabled for all builds
since it may prevent $WORKDIR from being cleaned when appropriate.
-- 
Thanks,
Zac



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-02-19 19:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-19 16:01 [gentoo-portage-dev] Is there any way to stop compilation and resume it later (after a reboot)? Pacho Ramos
2010-02-19 16:09 ` Ghislain Bourgeois
2010-02-19 16:44   ` Pacho Ramos
2010-02-19 18:58     ` Zac Medico
2010-02-19 19:17       ` Pacho Ramos
2010-02-19 19:30         ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox