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

vince at macports.org vince at macports.org
Tue Oct 1 02:11:28 PDT 2013


Revision: 111764
          https://trac.macports.org/changeset/111764
Author:   vince at macports.org
Date:     2013-10-01 02:11:28 -0700 (Tue, 01 Oct 2013)
Log Message:
-----------
Re-enable the +clang variant for XCode > 5

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

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2013-10-01 06:53:03 UTC (rev 111763)
+++ trunk/dports/math/atlas/Portfile	2013-10-01 09:11:28 UTC (rev 111764)
@@ -93,8 +93,10 @@
                         description {use XCode clang and gfortran} {
 
     pre-fetch {
-        return -code error        "Use of clang is temporarily disabled.\
-                                   Please choose gcc47 instead."
+        if {${xcodeversion} < 5.0} {
+            return -code error    "This clang version is not supported.\
+                                    Please upgrade to Xcode 5."
+        }
     }
 
     configure.compiler      clang
@@ -231,21 +233,8 @@
                      -fno-schedule-insns2 -fPIC"
 
     # Clang 
-    if {${use_clang} == "XCode" } {
+    set clang_flags "-O3 -fomit-frame-pointer -fPIC"
 
-        pre-fetch {        
-            ui_warn "Compiling Atlas with this version of clang is\
-                    likely *NOT* to work. Please use clang-3.3 or\
-                    higher."
-        }
-        set clang_flags "-O3 -fomit-frame-pointer -fPIC"
-    } else {
-
-        # Clang 3.3 – Use loop and straight vectorizer
-        set clang_flags "-O3 -fomit-frame-pointer -fPIC"
-
-    }
-
     # Vectorizing unit flags
     if {${has_fma} == "yes"} {
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131001/140298dc/attachment.html>


More information about the macports-changes mailing list