<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/b34bfd6652fad3994effcb1f14486c8ab5431a3b">https://github.com/macports/macports-ports/commit/b34bfd6652fad3994effcb1f14486c8ab5431a3b</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 b34bfd6 llvm-5+: be consistent w blacklisting and fallbacks
</span>b34bfd6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b34bfd6652fad3994effcb1f14486c8ab5431a3b
</span>Author: ken-cunningham-webuse <ken.cunningham.webuse@gmail.com>
AuthorDate: Fri Mar 29 15:33:35 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> llvm-5+: be consistent w blacklisting and fallbacks
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> none of these ports can reliably build with clang-3.4
</span><span style='display:block; white-space:pre;color:#404040;'> add fallback to clang-3.7 which can build these on all systems < darwin18
</span><span style='display:block; white-space:pre;color:#404040;'> existing compiler selection in base will override this in almost
</span><span style='display:block; white-space:pre;color:#404040;'> all cases on newer systems
</span>---
lang/llvm-5.0/Portfile | 13 +++++--------
lang/llvm-6.0/Portfile | 9 +++++----
lang/llvm-7.0/Portfile | 8 ++++----
lang/llvm-8.0/Portfile | 8 ++++----
lang/llvm-devel/Portfile | 8 ++++----
5 files changed, 22 insertions(+), 24 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-5.0/Portfile b/lang/llvm-5.0/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5aa705d..e7ffd82 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-5.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-5.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -315,14 +315,11 @@ if {${subport} eq "llvm-${llvm_version}"} {
</span> # Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
compiler.blacklist *gcc* {clang < 602}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${subport} eq "clang-${llvm_version}"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # add a suitable fallback for older systems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} <= 13} {
</span><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:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# llvm-5.0 builds with clang-3.4 but has codegen issues resulting compiler crashes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 18} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.fallback-append macports-clang-3.7
</span> }
if {${subport} eq "lldb-${llvm_version}"} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-6.0/Portfile b/lang/llvm-6.0/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fbb9b42..593b701 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-6.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-6.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -304,11 +304,12 @@ if {${subport} eq "llvm-${llvm_version}"} {
</span> # Xcode 5.1's clang (clang-503.0.40) has codegen issues (resulting compiler crashes)
# Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
compiler.blacklist *gcc* {clang < 602}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.fallback-append macports-clang-3.7 macports-clang-3.9
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${subport} eq "clang-${llvm_version}"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# llvm-6.0 builds with clang-3.4 but has codegen issues resulting compiler crashes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 18} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.fallback-append macports-clang-3.7
</span> }
if {${subport} eq "lldb-${llvm_version}"} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-7.0/Portfile b/lang/llvm-7.0/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 479826d..2743240 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-7.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-7.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -311,11 +311,11 @@ if {${subport} eq "llvm-${llvm_version}"} {
</span> compiler.blacklist *gcc* {clang < 602}
# clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# llvm-7.0 builds with clang-3.4 but has codegen issues (resulting compiler crashes) (kencu)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# llvm-7.0 builds with clang-3.4 but has codegen issues resulting compiler crashes
</span> compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.fallback-append macports-clang-3.7 macports-clang-3.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 18} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.fallback-append macports-clang-3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
if {${subport} eq "lldb-${llvm_version}"} {
# Xcode 6.4's clang (602.0.53) fails to build lldb with 'thread-local storage is not supported for the current target'
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-8.0/Portfile b/lang/llvm-8.0/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a604132..8fc282a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-8.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-8.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -310,11 +310,11 @@ if {${subport} eq "llvm-${llvm_version}"} {
</span> compiler.blacklist *gcc* {clang < 602}
# clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# llvm-7.0 builds with clang-3.4 but has codegen issues (resulting compiler crashes) (kencu)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# new llvms build with clang-3.4 but have codegen issues resulting compiler crashes
</span> compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.fallback-append macports-clang-3.7 macports-clang-3.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 18} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.fallback-append macports-clang-3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
if {${subport} eq "lldb-${llvm_version}"} {
# Xcode 6.4's clang (602.0.53) fails to build lldb with 'thread-local storage is not supported for the current target'
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-devel/Portfile b/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4e293bd..edcdfc4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -280,11 +280,11 @@ if {${subport} eq "llvm-${llvm_version}"} {
</span> compiler.blacklist *gcc* {clang < 602}
# clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# llvm-7.0 builds with clang-3.4 but has codegen issues (resulting compiler crashes) (kencu)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# new llvms build with clang-3.4 but have codegen issues resulting compiler crashes
</span> compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.fallback-append macports-clang-3.7 macports-clang-3.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 18} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.fallback-append macports-clang-3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
if {${subport} eq "lldb-${llvm_version}"} {
# Xcode 6.4's clang (602.0.53) fails to build lldb with 'thread-local storage is not supported for the current target'
</pre><pre style='margin:0'>
</pre>