[141186] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Sun Oct 11 21:47:31 PDT 2015


Revision: 141186
          https://trac.macports.org/changeset/141186
Author:   jeremyhu at macports.org
Date:     2015-10-11 21:47:31 -0700 (Sun, 11 Oct 2015)
Log Message:
-----------
llvm-*: Blacklist future versions of clang if they are not installed

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
    trunk/dports/lang/llvm-3.8/Portfile

Modified: trunk/dports/lang/llvm-3.3/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.3/Portfile	2015-10-12 02:12:23 UTC (rev 141185)
+++ trunk/dports/lang/llvm-3.3/Portfile	2015-10-12 04:47:31 UTC (rev 141186)
@@ -166,6 +166,14 @@
     compiler.blacklist-append macports-clang-${llvm_version}
 }
 
+# blacklist future versions if they're not available in order to help break
+# potential dependency cycles.
+foreach ver {3.4 3.5 3.6 3.7 3.8} {
+    if {![file exists ${prefix}/bin/clang-mp-${ver}]} {
+        compiler.blacklist-append macports-clang-${ver}
+    }
+}
+
 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-10-12 02:12:23 UTC (rev 141185)
+++ trunk/dports/lang/llvm-3.4/Portfile	2015-10-12 04:47:31 UTC (rev 141186)
@@ -214,6 +214,14 @@
     compiler.blacklist-append macports-clang-${llvm_version}
 }
 
+# blacklist future versions if they're not available in order to help break
+# potential dependency cycles.
+foreach ver {3.5 3.6 3.7 3.8} {
+    if {![file exists ${prefix}/bin/clang-mp-${ver}]} {
+        compiler.blacklist-append macports-clang-${ver}
+    }
+}
+
 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-10-12 02:12:23 UTC (rev 141185)
+++ trunk/dports/lang/llvm-3.5/Portfile	2015-10-12 04:47:31 UTC (rev 141186)
@@ -204,6 +204,14 @@
     compiler.blacklist-append macports-clang-${llvm_version}
 }
 
+# blacklist future versions if they're not available in order to help break
+# potential dependency cycles.
+foreach ver {3.6 3.7 3.8} {
+    if {![file exists ${prefix}/bin/clang-mp-${ver}]} {
+        compiler.blacklist-append macports-clang-${ver}
+    }
+}
+
 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-10-12 02:12:23 UTC (rev 141185)
+++ trunk/dports/lang/llvm-3.6/Portfile	2015-10-12 04:47:31 UTC (rev 141186)
@@ -191,6 +191,14 @@
     compiler.blacklist-append macports-clang-${llvm_version}
 }
 
+# blacklist future versions if they're not available in order to help break
+# potential dependency cycles.
+foreach ver {3.7 3.8} {
+    if {![file exists ${prefix}/bin/clang-mp-${ver}]} {
+        compiler.blacklist-append macports-clang-${ver}
+    }
+}
+
 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-10-12 02:12:23 UTC (rev 141185)
+++ trunk/dports/lang/llvm-3.7/Portfile	2015-10-12 04:47:31 UTC (rev 141186)
@@ -192,6 +192,14 @@
     compiler.blacklist-append macports-clang-${llvm_version}
 }
 
+# blacklist future versions if they're not available in order to help break
+# potential dependency cycles.
+foreach ver {3.8} {
+    if {![file exists ${prefix}/bin/clang-mp-${ver}]} {
+        compiler.blacklist-append macports-clang-${ver}
+    }
+}
+
 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.8/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.8/Portfile	2015-10-12 02:12:23 UTC (rev 141185)
+++ trunk/dports/lang/llvm-3.8/Portfile	2015-10-12 04:47:31 UTC (rev 141186)
@@ -174,6 +174,14 @@
     compiler.blacklist-append macports-clang-${llvm_version}
 }
 
+# blacklist future versions if they're not available in order to help break
+# potential dependency cycles.
+#foreach ver {3.9} {
+#    if {![file exists ${prefix}/bin/clang-mp-${ver}]} {
+#        compiler.blacklist-append macports-clang-${ver}
+#    }
+#}
+
 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/20151011/ff433f16/attachment.html>


More information about the macports-changes mailing list