<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/fc8b3bd7b4b74c0daf06a4c3543a844090ede971">https://github.com/macports/macports-ports/commit/fc8b3bd7b4b74c0daf06a4c3543a844090ede971</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit fc8b3bd7b4b74c0daf06a4c3543a844090ede971
</span>Author: kencu <ken.cunningham.webuse@gmail.com>
AuthorDate: Mon Apr 20 16:51:06 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> llvm-10: blacklist clang-3.7
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> unfortunately no longer builds with clang-3.7
</span>---
lang/llvm-10/Portfile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
<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 1b5fff4..39a6bce 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;'>@@ -331,6 +331,13 @@ compiler.blacklist *gcc* {clang < 602}
</span> # new llvms build with clang-3.4 but have codegen issues resulting compiler crashes
compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# not building with clang-3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#/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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ,typename enable_if<is_convertible<const _U1&, _T1>::value &&
</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;'>+compiler.blacklist-append macports-clang-3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Override the normal compiler fallback list entirely since we have
# such specific requirements.
compiler.fallback clang
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -338,7 +345,7 @@ compiler.fallback clang
</span> # 3.7 is already needed to bootstrap cmake, so is a good last resort
# when the system clang is too old.
if {${os.platform} eq "darwin" && ${os.major} < 18} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.fallback-append macports-clang-3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.fallback-append macports-clang-5.0
</span> }
if {${subport} eq "lldb-${llvm_version}"} {
</pre><pre style='margin:0'>
</pre>