[109811] trunk/dports/math/gsl/Portfile
Jeremy Huddleston Sequoia
jeremyhu at apple.com
Tue Aug 20 08:28:04 PDT 2013
You don't need to rev-bump when fixing build failures.
--Jeremy
On Aug 20, 2013, at 6:52, nicos at macports.org wrote:
> Revision
> 109811
> Author
> nicos at 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-changes at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-changes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4136 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130820/f3020ce1/attachment.p7s>
More information about the macports-dev
mailing list