<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4d58df9b2d6e131a75f95c809d326666beb39e86">https://github.com/macports/macports-ports/commit/4d58df9b2d6e131a75f95c809d326666beb39e86</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 4d58df9b2d6 cctools: Add llvm 11 to known list
</span>4d58df9b2d6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4d58df9b2d6e131a75f95c809d326666beb39e86
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Thu Dec 10 11:50:06 2020 +0000
<span style='display:block; white-space:pre;color:#404040;'> cctools: Add llvm 11 to known list
</span>---
devel/cctools/Portfile | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cctools/Portfile b/devel/cctools/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 617356f27e7..4e2aa89758c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cctools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cctools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ name cctools
</span> # Xcode 10.2
version 927.0.2
set ld64_version 450.3
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 6
</span> categories devel
platforms darwin
maintainers {jeremyhu @jeremyhu} {kencu @kencu} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,14 +48,14 @@ if {${os.major} < 11} {
</span> patchfiles-append snowleopard-strnlen.patch
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set all_llvm_variants {llvm50 llvm60 llvm70 llvm80 llvm90 llvm10 llvmdev}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set all_llvm_variants {llvm50 llvm60 llvm70 llvm80 llvm90 llvm10 llvm11 llvmdev}
</span> if {${os.major} < 12} {
lappend all_llvm_variants llvm34
}
if {${os.major} < 14} {
lappend all_llvm_variants llvm37
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-array set llvm_variant_version {llvm34 3.4 llvm37 3.7 llvm50 5.0 llvm60 6.0 llvm70 7.0 llvm80 8.0 llvm90 9.0 llvm10 10 llvmdev devel}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+array set llvm_variant_version {llvm34 3.4 llvm37 3.7 llvm50 5.0 llvm60 6.0 llvm70 7.0 llvm80 8.0 llvm90 9.0 llvm10 10 llvm11 11 llvmdev devel}
</span> set llvm_version {}
foreach variantname $all_llvm_variants {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -97,6 +97,12 @@ if { ![some_llvm_variant_set] && ![variant_isset xcode] } {
</span> # default_variants +llvm33
# }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Default to llvm 11 on macOS 11 and newer for best compatibility.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![some_llvm_variant_set] && ${os.major} >= 20} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +llvm11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If default still not set, use llvm 10
</span> if {![some_llvm_variant_set] && ${os.major} >= 10} {
default_variants +llvm10
}
</pre><pre style='margin:0'>
</pre>