[116310] trunk/dports/_resources/port1.0/group/compilers-1.0.tcl

sean at macports.org sean at macports.org
Thu Jan 23 12:09:24 PST 2014


Revision: 116310
          https://trac.macports.org/changeset/116310
Author:   sean at macports.org
Date:     2014-01-23 12:09:24 -0800 (Thu, 23 Jan 2014)
Log Message:
-----------
compilers-1.0: add support for mpi in avx proc

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/compilers-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/compilers-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/compilers-1.0.tcl	2014-01-23 20:09:18 UTC (rev 116309)
+++ trunk/dports/_resources/port1.0/group/compilers-1.0.tcl	2014-01-23 20:09:24 UTC (rev 116310)
@@ -385,7 +385,14 @@
 proc avx_compiler_isset {} {
     global configure.cc
 
-    if {[string match *clang* ${configure.cc}]} {
+    set cc ${configure.cc}
+
+    # check for mpi
+    if {[string match *mpi* $cc]} {
+        set cc [exec ${configure.cc} -show]
+    }
+
+    if {[string match *clang* $cc]} {
         return 1
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140123/da7e2884/attachment-0001.html>


More information about the macports-changes mailing list