This is a discussion on Portage feature within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hello all, Is it possible to have portage doing compile stuff and download stuff at the same time? For ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello all, Is it possible to have portage doing compile stuff and download stuff at the same time? For exemple, merging something that require dependencies to be merged first. For example: emerge software-xyz will first compile software-a, software-b and software-c. Here's the timeline: 1. donwload software-a 2. compile software-a 3. donwload software-b 4. compile software-b 5. donwload software-c 5. compile software-c 7. download software-xyz 8. compile software-xyz (goal!) My question is: is there an option or can developers add a feature to have this kind of timeline (parallel tasking)? Download process Compile process 1. download software-a 2. download software-b 1. compile sofware-a 3. download software-c 2. compile sofware-b 4. download software-xzy 3. compile sofware-c 4. compile sofware-xyz Regards -- Neptune |
| |||
| Neptune <neptune@nospam.org> wrote: > Is it possible to have portage doing compile stuff and download stuff at > the same time? For exemple, merging something that require > dependencies to be merged first. Not yet, portage-ng might have this when it's done but for now the answer is no. You could of course just do "emerge -f <package>" wait few packeges to finish, and then do "emerge <package> on another console/xterm. Just remember to give "-f" version of emerge enough time so that the second emerge process won't start fetching same file. More sophisticated option is to check out the scripts some people have posted in gentoo forum. -Tuukka |
| |||
| On Fri, 05 Dec 2003 13:31:13 +0100, Neptune wrote: > Hello all, > > Is it possible to have portage doing compile stuff and download stuff at > the same time? For exemple, merging something that require > dependencies to be merged first. http://bugs.gentoo.org/show_bug.cgi?id=1661 a quick hack is like Tuuka said: emerge -f <package> & <wait a little bit> emerge <package> -mike |
| |||
| That is what I do as well, still, I would't recommend it to someone who doesn't have a decent idea of how fast certain packages will compile and how long the source takes to download with your internet connection. You do not want the building thread to catch the downloading thread. I believe that this was proposed to be a feature of portage-ng. On Fri, 05 Dec 2003 11:14:23 -0500, Mike Frysinger <vapier@gentoo.org> wrote: >On Fri, 05 Dec 2003 13:31:13 +0100, Neptune wrote: > >> Hello all, >> >> Is it possible to have portage doing compile stuff and download stuff at >> the same time? For exemple, merging something that require >> dependencies to be merged first. > >http://bugs.gentoo.org/show_bug.cgi?id=1661 >a quick hack is like Tuuka said: >emerge -f <package> & ><wait a little bit> >emerge <package> >-mike > |
| ||||
| Jason <none.of.your.business@see.left.of.at.com> wrote: > That is what I do as well, still, I would't recommend it to someone > who doesn't have a decent idea of how fast certain packages will > compile and how long the source takes to download with your internet > connection. You do not want the building thread to catch the > downloading thread. That's true. A more secure option in that sense would be to use some script for the purpose. With some effort I found this: http://forums.gentoo.org/viewtopic.php?p=219446 script from Gentoo forum. It hasn't been updated for a while and has at least one problem (or more like a feature) that's mentioned on the page. > I believe that this was proposed to be a feature of portage-ng. I remember something like that too. > >a quick hack is like Tuuka said: "Tuuka" is better than <insert nasty word here> but "Tuukka" is even better ;-) -Tuukka |