<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/c53a09036eb6c71a52055965b4d300441f22da5a">https://github.com/macports/macports-ports/commit/c53a09036eb6c71a52055965b4d300441f22da5a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c53a09036eb6c71a52055965b4d300441f22da5a
</span>Author: Ken Cunningham <ken.cunningham.webuse@gmail.com>
AuthorDate: Sun Sep 19 22:21:21 2021 -0700

<span style='display:block; white-space:pre;color:#404040;'>    clang-7.0: allow compiler-rt to build atomic builtins
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    these were previously on by default. We need atomics for
</span><span style='display:block; white-space:pre;color:#404040;'>    32bit atomic support. 64bit atomics are supported by
</span><span style='display:block; white-space:pre;color:#404040;'>    the compiler/processor but 32bit are not.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    see: https://trac.macports.org/ticket/58712
</span>---
 lang/llvm-7.0/Portfile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

<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 59ebe85f1e0..9e06edd4d4a 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;'>@@ -273,8 +273,11 @@ if {${subport} eq "llvm-${llvm_version}"} {
</span>         -DLIBCXX_ENABLE_SHARED=OFF \
         -DLIBCXX_INSTALL_LIBRARY=OFF
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # TODO: libc++ shouldn't be built at all.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    #       https://llvm.org/bugs/show_bug.cgi?id=25666
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.major} <= 18} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # on systems that might build i386, we need atomic builtins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # https://trac.macports.org/ticket/58712
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.args-append    -DCOMPILER_RT_EXCLUDE_ATOMIC_BUILTIN=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span> 
     if {${os.major} <= 13} {
         # We unfortunately don't have an option to just turn off tsan
</pre><pre style='margin:0'>

</pre>