public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] download and compile
@ 2002-04-17 16:40 Gwenn Gueguen
  2002-04-17 19:02 ` Bart Lauwers
  2002-04-17 20:20 ` Chad M. Huneycutt
  0 siblings, 2 replies; 6+ messages in thread
From: Gwenn Gueguen @ 2002-04-17 16:40 UTC (permalink / raw
  To: gentoo-dev

Hello,

I just installed Gentoo on my notebook and everything works fine :-)

It looks like emerge downloads a package then compile it, and this
for each required package.

As it can take take some time to download packages, wouldn't it be
great to download a package while compiling another ?

Maybe there could be a thread to download and one to compile or
is it just a stupid idea ?

-- 
Gwenn




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

* Re: [gentoo-dev] download and compile
  2002-04-17 16:40 [gentoo-dev] download and compile Gwenn Gueguen
@ 2002-04-17 19:02 ` Bart Lauwers
  2002-04-17 19:48   ` Paul de Vrieze
  2002-04-17 19:55   ` Gwenn Gueguen
  2002-04-17 20:20 ` Chad M. Huneycutt
  1 sibling, 2 replies; 6+ messages in thread
From: Bart Lauwers @ 2002-04-17 19:02 UTC (permalink / raw
  To: gentoo-dev

Try 'emerge -f' after you did your 'emerge -p', this will download all the
sources so you can shut down your connection to the internet while you
start your build. If you want to but I don't recommend it you can do the
emerge -f in the background and start compiling at the same time it's
downloading.

 Bart.

On Wed, 17 Apr 2002, Gwenn Gueguen wrote:

>
> Hello,
>
> I just installed Gentoo on my notebook and everything works fine :-)
>
> It looks like emerge downloads a package then compile it, and this
> for each required package.
>
> As it can take take some time to download packages, wouldn't it be
> great to download a package while compiling another ?
>
> Maybe there could be a thread to download and one to compile or
> is it just a stupid idea ?
>
>



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

* Re: [gentoo-dev] download and compile
  2002-04-17 19:02 ` Bart Lauwers
@ 2002-04-17 19:48   ` Paul de Vrieze
  2002-04-17 19:55   ` Gwenn Gueguen
  1 sibling, 0 replies; 6+ messages in thread
From: Paul de Vrieze @ 2002-04-17 19:48 UTC (permalink / raw
  To: gentoo-dev

On Wednesday 17 April 2002 21:02, Bart Lauwers wrote:
> Try 'emerge -f' after you did your 'emerge -p', this will download
> all the sources so you can shut down your connection to the
> internet while you start your build. If you want to but I don't
> recommend it you can do the emerge -f in the background and start
> compiling at the same time it's downloading.
>

Well, after the first package has been downloaded. Else it will 
download twice, not really desirable.

Paul

-- 
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net


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

* Re: [gentoo-dev] download and compile
  2002-04-17 19:02 ` Bart Lauwers
  2002-04-17 19:48   ` Paul de Vrieze
@ 2002-04-17 19:55   ` Gwenn Gueguen
  1 sibling, 0 replies; 6+ messages in thread
From: Gwenn Gueguen @ 2002-04-17 19:55 UTC (permalink / raw
  To: gentoo-dev

> Try 'emerge -f' after you did your 'emerge -p', this will
> download all the sources so you can shut down your connection
> to the internet while you start your build.

My problem is not to limit internet connection time.

If the download of packages is done in the background while
compiling, the total time to obtain a complete system will
nearly equal to the total compile time instead of total
download time + total compile time.

As download should use few CPU time, it could be interresting
and shouldn't slow compilation...

-- 
Gwenn




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

* Re: [gentoo-dev] download and compile
  2002-04-17 16:40 [gentoo-dev] download and compile Gwenn Gueguen
  2002-04-17 19:02 ` Bart Lauwers
@ 2002-04-17 20:20 ` Chad M. Huneycutt
  1 sibling, 0 replies; 6+ messages in thread
From: Chad M. Huneycutt @ 2002-04-17 20:20 UTC (permalink / raw
  To: gentoo-dev

Gwenn Gueguen wrote:
> Hello,
> 
> I just installed Gentoo on my notebook and everything works fine :-)
> 
> It looks like emerge downloads a package then compile it, and this
> for each required package.
> 
> As it can take take some time to download packages, wouldn't it be
> great to download a package while compiling another ?
> 
> Maybe there could be a thread to download and one to compile or
> is it just a stupid idea ?
> 

That is definitely a good idea, and I would expect it to show up in portage2.

Chad (chadh@gentoo.org)



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

* RE: [gentoo-dev] download and compile
@ 2002-04-21  3:27 Wayne Vovil
  0 siblings, 0 replies; 6+ messages in thread
From: Wayne Vovil @ 2002-04-21  3:27 UTC (permalink / raw
  To: gentoo-dev

Hi

Sound like a good idea to me. Downloading is I/O intensive, while compiling is CPU intensive.

cheers

wayne
Perth, Western Australia

> Gwenn Gueguen <gwenn.gueguen@libertysurf.fr> gentoo-dev@gentoo.org [gentoo-dev] download and compileReply-To: gentoo-dev@gentoo.org
>Date: Wed, 17 Apr 2002 18:40:00 +0200
>
>
>Hello,
>
>I just installed Gentoo on my notebook and everything works fine :-)
>
>It looks like emerge downloads a package then compile it, and this
>for each required package.
>
>As it can take take some time to download packages, wouldn't it be
>great to download a package while compiling another ?
>
>Maybe there could be a thread to download and one to compile or
>is it just a stupid idea ?
>
>-- 
>Gwenn
>
>
>_______________________________________________
>gentoo-dev mailing list
>gentoo-dev@gentoo.org
>http://lists.gentoo.org/mailman/listinfo/gentoo-dev




------------------------------------------------------------
FREE EMAIL for all from AUSI at http://ausi.com    Access world wide.


---------------------------------------------------------------------
Express yourself with a super cool email address from BigMailBox.com.
Hundreds of choices. It's free!
http://www.bigmailbox.com
---------------------------------------------------------------------


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

end of thread, other threads:[~2002-04-21  3:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-17 16:40 [gentoo-dev] download and compile Gwenn Gueguen
2002-04-17 19:02 ` Bart Lauwers
2002-04-17 19:48   ` Paul de Vrieze
2002-04-17 19:55   ` Gwenn Gueguen
2002-04-17 20:20 ` Chad M. Huneycutt
  -- strict thread matches above, loose matches on Subject: below --
2002-04-21  3:27 Wayne Vovil

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