[101066] trunk/dports/science/mpich/Portfile

eborisch at macports.org eborisch at macports.org
Thu Jan 3 15:12:07 PST 2013


Revision: 101066
          https://trac.macports.org/changeset/101066
Author:   eborisch at macports.org
Date:     2013-01-03 15:12:07 -0800 (Thu, 03 Jan 2013)
Log Message:
-----------
mpich[-devel]: blacklist recent clang for now. See #36654

Modified Paths:
--------------
    trunk/dports/science/mpich/Portfile

Modified: trunk/dports/science/mpich/Portfile
===================================================================
--- trunk/dports/science/mpich/Portfile	2013-01-03 22:31:19 UTC (rev 101065)
+++ trunk/dports/science/mpich/Portfile	2013-01-03 23:12:07 UTC (rev 101066)
@@ -80,6 +80,10 @@
 
 depends_lib-append  port:libxml2
 
+# Linker for Apple clang version 431.11.66 currently segfaults 
+# See https://trac.macports.org/ticket/36654#comment:9 
+compiler.blacklist-append   {clang >= 421.11.66} 
+
 platform darwin {
     configure.args-append   --enable-timer-type=mach_absolute_time
 }
@@ -148,9 +152,11 @@
                                 MPICHLIB_CFLAGS='-fomit-frame-pointer -O2'
 }
 
-if {${configure.compiler} == "clang" ||
-    [ variant_isset clang ]} {
-    configure.env-append    ac_cv_tls=none
+if {[regexp -all -- {\yclang\y} ${compiler.blacklist}] != 0 &&
+    [variant_isset clang]} {
+    ui_error \
+        "This version of clang segfaults. Please select a different compiler."
+    return -code error "Unsupported clang version. Try +clang31 or +llvm ?"
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130103/dca13d37/attachment.html>


More information about the macports-changes mailing list