[138513] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Fri Jul 10 09:18:20 PDT 2015


Revision: 138513
          https://trac.macports.org/changeset/138513
Author:   jeremyhu at macports.org
Date:     2015-07-10 09:18:20 -0700 (Fri, 10 Jul 2015)
Log Message:
-----------
llvm-*: Don't self-host clang because it may get broken by the updated llvm

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.3/Portfile
    trunk/dports/lang/llvm-3.4/Portfile
    trunk/dports/lang/llvm-3.5/Portfile
    trunk/dports/lang/llvm-3.6/Portfile
    trunk/dports/lang/llvm-3.7/Portfile

Modified: trunk/dports/lang/llvm-3.3/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.3/Portfile	2015-07-10 15:30:17 UTC (rev 138512)
+++ trunk/dports/lang/llvm-3.3/Portfile	2015-07-10 16:18:20 UTC (rev 138513)
@@ -159,6 +159,13 @@
     configure.args-append --enable-assertions
 }
 
+if {${subport} eq "clang-${llvm_version}"} {
+    # Don't self-host.  We may have issues if we have a slightly newer llvm version that
+    # is not binary compatible with the older clang version we're trying to use.
+
+    compiler.blacklist-append macports-clang-${llvm_version}
+}
+
 platform darwin {
     if {${build_arch} eq "i386"} {
         configure.pre_args-append --build=i686-apple-darwin${os.major}

Modified: trunk/dports/lang/llvm-3.4/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.4/Portfile	2015-07-10 15:30:17 UTC (rev 138512)
+++ trunk/dports/lang/llvm-3.4/Portfile	2015-07-10 16:18:20 UTC (rev 138513)
@@ -207,6 +207,13 @@
     configure.args-append --enable-assertions
 }
 
+if {${subport} eq "clang-${llvm_version}"} {
+    # Don't self-host.  We may have issues if we have a slightly newer llvm version that
+    # is not binary compatible with the older clang version we're trying to use.
+
+    compiler.blacklist-append macports-clang-${llvm_version}
+}
+
 platform darwin {
     if {${build_arch} eq "i386"} {
         configure.pre_args-append --build=i686-apple-darwin${os.major}

Modified: trunk/dports/lang/llvm-3.5/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.5/Portfile	2015-07-10 15:30:17 UTC (rev 138512)
+++ trunk/dports/lang/llvm-3.5/Portfile	2015-07-10 16:18:20 UTC (rev 138513)
@@ -197,6 +197,13 @@
 # Xcode 4.6.x's clang (425.0.28) works, assuming 425.0.24 from 4.6.0 works too
 compiler.blacklist *gcc* macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 {clang < 425.0.24}
 
+if {${subport} eq "clang-${llvm_version}"} {
+    # Don't self-host.  We may have issues if we have a slightly newer llvm version that
+    # is not binary compatible with the older clang version we're trying to use.
+
+    compiler.blacklist-append macports-clang-${llvm_version}
+}
+
 platform darwin {
     # Note that we are forcing this choice.  This means that anything linking
     # against llvm-3.5 needs to also be using libc++.  This is possibly

Modified: trunk/dports/lang/llvm-3.6/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.6/Portfile	2015-07-10 15:30:17 UTC (rev 138512)
+++ trunk/dports/lang/llvm-3.6/Portfile	2015-07-10 16:18:20 UTC (rev 138513)
@@ -183,6 +183,13 @@
 # Xcode 4.6.x's clang (425.0.28) works, assuming 425.0.24 from 4.6.0 works too
 compiler.blacklist *gcc* macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 {clang < 425.0.24}
 
+if {${subport} eq "clang-${llvm_version}"} {
+    # Don't self-host.  We may have issues if we have a slightly newer llvm version that
+    # is not binary compatible with the older clang version we're trying to use.
+
+    compiler.blacklist-append macports-clang-${llvm_version}
+}
+
 platform darwin {
     # Note that we are forcing this choice.  This means that anything linking
     # against llvm-3.5 needs to also be using libc++.  This is possibly

Modified: trunk/dports/lang/llvm-3.7/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.7/Portfile	2015-07-10 15:30:17 UTC (rev 138512)
+++ trunk/dports/lang/llvm-3.7/Portfile	2015-07-10 16:18:20 UTC (rev 138513)
@@ -166,6 +166,13 @@
 # Xcode 4.6.3's clang (425.0.28) fails due to http://trac.macports.org/ticket/46897
 compiler.blacklist *gcc* macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 {clang < 500}
 
+if {${subport} eq "clang-${llvm_version}"} {
+    # Don't self-host.  We may have issues if we have a slightly newer llvm version that
+    # is not binary compatible with the older clang version we're trying to use.
+
+    compiler.blacklist-append macports-clang-${llvm_version}
+}
+
 platform darwin {
     # Note that we are forcing this choice.  This means that anything linking
     # against llvm-3.5 needs to also be using libc++.  This is possibly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150710/1467e2e9/attachment.html>


More information about the macports-changes mailing list