<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d7d3b03a49342273dd89fbfa69346d8183dd37d3">https://github.com/macports/macports-ports/commit/d7d3b03a49342273dd89fbfa69346d8183dd37d3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d7d3b03a49342273dd89fbfa69346d8183dd37d3
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Tue Apr 21 20:23:03 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> llvm-10: use clang-9.0 as fallback
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> might as well use the last clang that built with clang-3.7
</span><span style='display:block; white-space:pre;color:#404040;'> to build llvm-10+.
</span>---
lang/llvm-10/Portfile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-10/Portfile b/lang/llvm-10/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5d8d8df..511fd3e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-10/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-10/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -339,17 +339,16 @@ compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
</span> #/opt/local/libexec/llvm-3.7/bin/../include/c++/v1/utility:274:38: error: no type named 'type' in 'std::__1::enable_if<false, void>'; 'enable_if' cannot be used to disable this declaration
# ,typename enable_if<is_convertible<const _U1&, _T1>::value &&
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> compiler.blacklist-append macports-clang-3.7
# Override the normal compiler fallback list entirely since we have
# such specific requirements.
compiler.fallback clang
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# 3.7 is already needed to bootstrap cmake, so is a good last resort
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# when the system clang is too old.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# fall back to clang-9.0 when system clang is too old
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang-9.0 was that last one that built with clang-3.7
</span> if {${os.platform} eq "darwin" && ${os.major} < 18} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.fallback-append macports-clang-5.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.fallback-append macports-clang-9.0
</span> }
if {${subport} eq "lldb-${llvm_version}"} {
</pre><pre style='margin:0'>
</pre>