[152680] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Wed Sep 14 09:45:48 PDT 2016


Revision: 152680
          https://trac.macports.org/changeset/152680
Author:   jeremyhu at macports.org
Date:     2016-09-14 09:45:48 -0700 (Wed, 14 Sep 2016)
Log Message:
-----------
llvm-3.{8,9,devel}: Move some blacklisting into the clang subport where relevant

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.8/Portfile
    trunk/dports/lang/llvm-3.9/Portfile
    trunk/dports/lang/llvm-devel/Portfile

Modified: trunk/dports/lang/llvm-3.8/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.8/Portfile	2016-09-14 15:38:01 UTC (rev 152679)
+++ trunk/dports/lang/llvm-3.8/Portfile	2016-09-14 16:45:48 UTC (rev 152680)
@@ -209,15 +209,16 @@
 # XCode 4.3's clang (318.x) fails per https://trac.macports.org/ticket/44161
 # XCode 4.5's clang (421.11.66) fails due to http://llvm.org/bugs/show_bug.cgi?id=20184
 # Xcode 4.6.3's clang (425.0.28) fails due to http://trac.macports.org/ticket/46897
-# Xcode 5.1.0's clang (503.0.35) fails due to https://llvm.org/bugs/show_bug.cgi?id=25673
-# Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
-# clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
-compiler.blacklist *gcc* {clang < 602} macports-clang-3.3 macports-clang-3.4
+compiler.blacklist *gcc* {clang < 500}
 
-# Remove this when loosening the blacklist above or when a newer base is released
-compiler.fallback-append macports-clang-3.7 macports-clang-3.6 macports-clang-3.5
+if {${subport} eq "clang-${llvm_version}"} {
+    # Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
+    # clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
+    compiler.blacklist-append {clang < 602} macports-clang-3.3 macports-clang-3.4
+ 
+    # Remove this when loosening the blacklist above or when a newer base is released
+    compiler.fallback-append macports-clang-3.7 macports-clang-3.6 macports-clang-3.5
 
-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.
 

Modified: trunk/dports/lang/llvm-3.9/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.9/Portfile	2016-09-14 15:38:01 UTC (rev 152679)
+++ trunk/dports/lang/llvm-3.9/Portfile	2016-09-14 16:45:48 UTC (rev 152680)
@@ -206,15 +206,16 @@
 # XCode 4.3's clang (318.x) fails per https://trac.macports.org/ticket/44161
 # XCode 4.5's clang (421.11.66) fails due to http://llvm.org/bugs/show_bug.cgi?id=20184
 # Xcode 4.6.3's clang (425.0.28) fails due to http://trac.macports.org/ticket/46897
-# Xcode 5.1.0's clang (503.0.35) fails due to https://llvm.org/bugs/show_bug.cgi?id=25673
-# Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
-# clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
-compiler.blacklist *gcc* {clang < 602} macports-clang-3.3 macports-clang-3.4
+compiler.blacklist *gcc* {clang < 500}
 
-# Remove this when loosening the blacklist above or when a newer base is released
-compiler.fallback-append macports-clang-3.7 macports-clang-3.6 macports-clang-3.5
+if {${subport} eq "clang-${llvm_version}"} {
+    # Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
+    # clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
+    compiler.blacklist-append {clang < 602} macports-clang-3.3 macports-clang-3.4
+ 
+    # Remove this when loosening the blacklist above or when a newer base is released
+    compiler.fallback-append macports-clang-3.7 macports-clang-3.6 macports-clang-3.5
 
-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.
 

Modified: trunk/dports/lang/llvm-devel/Portfile
===================================================================
--- trunk/dports/lang/llvm-devel/Portfile	2016-09-14 15:38:01 UTC (rev 152679)
+++ trunk/dports/lang/llvm-devel/Portfile	2016-09-14 16:45:48 UTC (rev 152680)
@@ -236,15 +236,16 @@
 # XCode 4.3's clang (318.x) fails per https://trac.macports.org/ticket/44161
 # XCode 4.5's clang (421.11.66) fails due to http://llvm.org/bugs/show_bug.cgi?id=20184
 # Xcode 4.6.3's clang (425.0.28) fails due to http://trac.macports.org/ticket/46897
-# Xcode 5.1.0's clang (503.0.35) fails due to https://llvm.org/bugs/show_bug.cgi?id=25673
-# Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
-# clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
-compiler.blacklist *gcc* {clang < 602} macports-clang-3.3 macports-clang-3.4
+compiler.blacklist *gcc* {clang < 500}
 
-# Remove this when loosening the blacklist above or when a newer base is released
-compiler.fallback-append macports-clang-3.7 macports-clang-3.6 macports-clang-3.5
+if {${subport} eq "clang-${llvm_version}"} {
+    # Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
+    # clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
+    compiler.blacklist-append {clang < 602} macports-clang-3.3 macports-clang-3.4
+ 
+    # Remove this when loosening the blacklist above or when a newer base is released
+    compiler.fallback-append macports-clang-3.7 macports-clang-3.6 macports-clang-3.5
 
-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.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160914/84fa3854/attachment.html>


More information about the macports-changes mailing list