ports collection background-fetch

Andy Greenwood agreenwood at nuvox.net
Wed Sep 5 12:15:54 PDT 2007


deeptech71 at gmail.com wrote:
> Bahman M. wrote:
> > deeptech71 at gmail.com wrote:
> >> Is it possible to do automatic fetching of source files in the
> >> background while other parts are being compiled?
> >  >
> > Just login on multiple consoles or use multiple x terminals (if running
> > X) and on each one run 'make' for the port you want to compile.  The
> > port(s) will be fetched and compiled simultaneously.  Then all you need
> > to do is to run 'make install' for each port.
> >
> > Note: I'm not sure but I think it's not a good practice to issue more
> > than one 'make install' at a time.
> >
> > Bahman
> >
>
> Mel wrote:
> > On Wednesday 05 September 2007 18:46:39 deeptech71 at gmail.com wrote:
> >> Is it possible to do automatic fetching of source files in the 
> background
> >> while other parts are being compiled?
> >
> > Not automatically, but if you know which ports need to be done next, 
> nothing
> > stops you from doing:
> > cd /usr/ports/category/port && make fetch
> > on a different terminal.
> >
>
> OK...

If you know the full list of leaf ports you want installed, you could do 
something like this for each port, which should fetch and allow you to 
config all your ports. You could run this on a seperate terminal for 
each port.

# cd /usr/ports/category/port && make config-recursive fetch-recursive

> Downloading should never interference with compiling (other than 
> faster consumption of disk space :) ), so this is an improvement that 
> can/should be made. Send the recommendation to the commiters?
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list