[150305] trunk/base/src/port1.0/portconfigure.tcl

jeremyhu at macports.org jeremyhu at macports.org
Fri Jul 15 01:48:46 PDT 2016


Revision: 150305
          https://trac.macports.org/changeset/150305
Author:   jeremyhu at macports.org
Date:     2016-07-15 01:48:46 -0700 (Fri, 15 Jul 2016)
Log Message:
-----------
Add macports-clang-3.8 to compilers list and prune supported compilers for Sierra

Modified Paths:
--------------
    trunk/base/src/port1.0/portconfigure.tcl

Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl	2016-07-15 08:46:58 UTC (rev 150304)
+++ trunk/base/src/port1.0/portconfigure.tcl	2016-07-15 08:48:46 UTC (rev 150305)
@@ -513,8 +513,10 @@
     }
 
     # Determine which versions of clang we prefer
-    if {${configure.cxx_stdlib} eq "libc++"} { # clang-3.5+ require libc++
-        lappend compilers macports-clang-3.7 macports-clang-3.6 macports-clang-3.5 macports-clang-3.4
+    if {${os.major} >= 16} {
+        lappend compilers macports-clang-3.8 macports-clang-3.7
+    } elseif {${configure.cxx_stdlib} eq "libc++"} { # clang-3.5+ require libc++
+        lappend compilers macports-clang-3.8 macports-clang-3.7 macports-clang-3.6 macports-clang-3.5 macports-clang-3.4
     } else {
         lappend compilers macports-clang-3.4 macports-clang-3.3
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160715/5173dfc2/attachment.html>


More information about the macports-changes mailing list