macports fetch suggestion
Daniel Price
daniel.price at monash.edu
Sun Sep 11 23:13:56 PDT 2011
> Message: 7
> Date: Mon, 12 Sep 2011 07:21:22 +0200
> From: Rainer M?ller <raimue at macports.org>
> To: macports-dev at lists.macosforge.org
> Subject: Re: macports fetch suggestion
> Message-ID: <4E6D96D2.8040303 at macports.org>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello Daniel,
>
> On 2011-09-12 07:04, Daniel Price wrote:
>> Here is a simple suggestion for improving the macports build process. Since
>> the build process for each port is neatly divided into "fetch", "configure",
>> "build" etc, would it be possible to perform the "fetch" step for *all*
>> dependencies first? This is to avoid the need to be continuously connected to
>> the internet during what can be a very long build process, such that the
>> build can complete "offline" in it's own time.
>
> It is already possible to execute the fetch phase only. You can manually do that
> in two steps:
>
> sudo port fetch portA rdepof:portA portB rdepof:portB
> sudo port install portA portB
>
> Rainer
>
>
> ------------------------------
>
> Message: 8
> Date: Sun, 11 Sep 2011 23:21:10 -0600
> From: Bryan Blackburn <blb at macports.org>
> To: macports-dev at lists.macosforge.org
> Subject: Re: macports fetch suggestion
> Message-ID: <20110912052110.GE390 at ninagal.withay.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Mon, Sep 12, 2011 at 03:04:13PM +1000, Daniel Price said:
>> Dear Macports developers,
>>
>> Here is a simple suggestion for improving the macports build process. Since the build process for each port is neatly divided into "fetch", "configure", "build" etc, would it be possible to perform the "fetch" step for *all* dependencies first? This is to avoid the need to be continuously connected to the internet during what can be a very long build process, such that the build can complete "offline" in it's own time.
>
> That's basically ticket #2421:
>
> <http://trac.macports.org/ticket/2421>
>
> Some ways to do that are mentioned (especially Ryan's at the end for
> MacPorts 1.9+).
>
> Bryan
>
Hi Bryan, Rainer,
Thanks for the tip -- the "port fetch rdepof" is just what I was looking for.
Is there any particular reason the prefetching cannot be the default though?
Daniel
More information about the macports-dev
mailing list