[144607] trunk/dports/science/octopus/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Jan 13 09:45:16 PST 2016


> On Jan 13, 2016, at 11:29 AM, dstrubbe at macports.org wrote:
> 
> Revision
> 144607
> Author
> dstrubbe at macports.org
> Date
> 2016-01-13 09:29:21 -0800 (Wed, 13 Jan 2016)
> Log Message
> 
> octopus: Make +accelerate the default, to save a lot of time in building atlas.
> Modified Paths
> 
> 	• trunk/dports/science/octopus/Portfile
> Diff
> 
> Modified: trunk/dports/science/octopus/Portfile (144606 => 144607)
> 
> --- trunk/dports/science/octopus/Portfile	2016-01-13 16:51:07 UTC (rev 144606)
> +++ trunk/dports/science/octopus/Portfile	2016-01-13 17:29:21 UTC (rev 144607)
> @@ -6,7 +6,7 @@
>  
>  name                octopus
>  version             5.0.1
> -revision            0
> +revision            1
>  categories          science
>  platforms           darwin
>  license             GPL-2+
> @@ -52,7 +52,7 @@
>  
>  default_variants +newuoa
>  if {![variant_isset accelerate] && ![variant_isset openblas]} {
> -    default_variants-append +atlas
> +    default_variants-append +accelerate
>  }


But there was no reason to increase the port's revision, since the user's existing variants will be preserved in the upgrade. Regardless whether the user had the atlas or accelerate or openblas variant of octupus 5.0.1_0 installed, they will have exactly the same variant of octopus 5.0.1_1 installed after the upgrade. Increasing the revision only causes lots of unnecessary rebuilding, for the buildbots and for users.




More information about the macports-dev mailing list