[93768] trunk/dports/math/atlas/Portfile

vince at macports.org vince at macports.org
Wed May 30 12:55:19 PDT 2012


Revision: 93768
          https://trac.macports.org/changeset/93768
Author:   vince at macports.org
Date:     2012-05-30 12:55:19 -0700 (Wed, 30 May 2012)
Log Message:
-----------
Downgrades default compiler to gcc45 to harmonize with the rest of the crew. Also avoids warning about AVX to be displayed each time the port is parsed.

Modified Paths:
--------------
    trunk/dports/math/atlas/Portfile

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2012-05-30 17:40:19 UTC (rev 93767)
+++ trunk/dports/math/atlas/Portfile	2012-05-30 19:55:19 UTC (rev 93768)
@@ -114,9 +114,9 @@
         configure.cc            ${prefix}/bin/clang-mp-3.2
     } else {
 
-        # Defaults to gcc46
-        set                     gccversion 4.6
-        default_variants		+gcc46
+        # Defaults to gcc45
+        set                     gccversion 4.5
+        default_variants		+gcc45
     }
     
 } else {
@@ -146,9 +146,9 @@
 
     } else {
         
-        # Defaults to gcc46
-        set                     gccversion 4.6
-        default_variants        +gcc46
+        # Defaults to gcc45
+        set                     gccversion 4.5
+        default_variants        +gcc45
     }
 }
 
@@ -251,7 +251,9 @@
     if {![info exists use_clang]} {
     
         # Force Core i1 arch
-        ui_warn "GCC compilers on OS X do not support AVX instructions."
+		pre-fecth {
+			ui_warn "GCC compilers on OS X do not support AVX instructions."
+		}
         configure.args-append   -A 25
     } else {
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120530/940485c2/attachment.html>


More information about the macports-changes mailing list