You don't need to rev-bump when fixing build failures.

--Jeremy

On Aug 20, 2013, at 6:52, ni...@macports.org wrote:

> Revision
> 109811
> Author
> ni...@macports.org
> Date
> 2013-08-20 06:52:20 -0700 (Tue, 20 Aug 2013)
> Log Message
> 
> gsl: disable avx for gcc compilers (ticket #38271)
> Modified Paths
> 
>       • trunk/dports/math/gsl/Portfile
> Diff
> 
> Modified: trunk/dports/math/gsl/Portfile (109810 => 109811)
> 
> --- trunk/dports/math/gsl/Portfile    2013-08-20 13:18:37 UTC (rev 109810)
> +++ trunk/dports/math/gsl/Portfile    2013-08-20 13:52:20 UTC (rev 109811)
> 
> @@ -6,6 +6,7 @@
> 
>  name                gsl
> 
>  conflicts           gsl-devel
> 
>  version             1.16
> 
> +revision            1
> 
>  categories          math science
> 
>  maintainers         openmaintainer gmail.com:dtakahashi42
> 
>  license             GPL-3+
> 
> @@ -80,8 +81,13 @@
> 
>  }
> 
>  
> 
>  platform darwin i386 {
> 
> -    if { [variant_isset optimize] && ( [variant_isset gcc43] || 
> [variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] || 
> [variant_isset gcc47] ) } {
> -        configure.cflags-append "-march=native"
> 
> +    if { [variant_isset optimize] } {
> +        if { [variant_isset gcc43] } {
> +            configure.cflags-append "-march=native"
> +        } elseif { [variant_isset gcc44] || [variant_isset gcc45] || 
> [variant_isset gcc46] || [variant_isset gcc47] } {
> +            # Currently, gcc cannot compile AVX instructions on OSX
> +            configure.cflags-append "-march=native -mno-avx"
> +        }
> 
>      }
> 
>  }
> 
>  
> 
> _______________________________________________
> macports-changes mailing list
> macports-chan...@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-changes

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to