<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0b42b60411f15fe44956ccef677f8b3224700ec1">https://github.com/macports/macports-ports/commit/0b42b60411f15fe44956ccef677f8b3224700ec1</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 0b42b60411f llvm-devel: fail fast on i386
</span>0b42b60411f is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 0b42b60411f15fe44956ccef677f8b3224700ec1
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon Jan 10 00:06:21 2022 +1100

<span style='display:block; white-space:pre;color:#404040;'>    llvm-devel: fail fast on i386
</span>---
 lang/llvm-devel/Portfile | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

<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 5234631734e..762a8344ede 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;'>@@ -303,6 +303,23 @@ if { ${subport} eq "clang-${llvm_version}" || ${subport} eq "mlir-${llvm_version
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${build_arch} eq "i386" && ${subport} eq "llvm-${llvm_version}"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # llvm/tools/llvm-objcopy/MachO/MachOWriter.cpp:569:21: error: no matching function for call to 'min'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    #                std::min(HashReadEnd - CurrHashReadPosition,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    #                ^~~~~~~~
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # /opt/local/libexec/llvm-11/bin/../include/c++/v1/algorithm:2560:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('int' vs. 'long')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # min(const _Tp& __a, const _Tp& __b)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_run
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    archive_sites
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Can't set known_fail based on build_arch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ui_error "${subport} currently fails to build on the $build_arch architecture."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        return -code error {unsupported architecture}
</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;'>+
</span> if { ${subport} eq "clang-${llvm_version}" || ${subport} eq "flang-${llvm_version}" } {
 
     depends_lib-append  port:libxml2 port:libomp port:llvm-${llvm_version} port:mlir-${llvm_version}
</pre><pre style='margin:0'>

</pre>