<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bb7a8976f9e3887c5de7b889d3e3e351860731e2">https://github.com/macports/macports-ports/commit/bb7a8976f9e3887c5de7b889d3e3e351860731e2</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 bb7a8976f9e openmpi/mpich: disable clang9 and clang10 for ARM
</span>bb7a8976f9e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bb7a8976f9e3887c5de7b889d3e3e351860731e2
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Tue May 18 18:33:52 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> openmpi/mpich: disable clang9 and clang10 for ARM
</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/62807
</span>---
science/mpich/Portfile | 9 +++++++--
science/openmpi/Portfile | 14 +++++++++++---
2 files changed, 18 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/mpich/Portfile b/science/mpich/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2f6ae316ea5..60ca89c022b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/mpich/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/mpich/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -87,8 +87,13 @@ lappend clist_obsolete \
</span> gcc8 \
gccdevel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# mpich only compiles with clang90+ on MacOS 10.7 and later
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.major} >= 11 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.arch} eq "arm" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # disable unreliable clang versions for ARM
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set clist(clang11) {macports-clang-11}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend clist_unsupported \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clang90 clang10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif { ${os.major} >= 11 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # mpich only compiles with clang90+ on MacOS 10.7 and later
</span> set clist(clang90) {macports-clang-9.0}
set clist(clang10) {macports-clang-10}
set clist(clang11) {macports-clang-11}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/openmpi/Portfile b/science/openmpi/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2ee33f80320..543fde3cb6a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/openmpi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/openmpi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -62,9 +62,6 @@ livecheck.regex Open MPI v(\[0-9\.\]+) released
</span> # Sub-ports names and corresponding configure.compiler value
array set clist {
clang {clang}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- clang90 {macports-clang-9.0}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- clang10 {macports-clang-10}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- clang11 {macports-clang-11}
</span> gcc7 {macports-gcc-7}
}
set clist_unsupported [list]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -86,6 +83,17 @@ lappend clist_obsolete \
</span> gcc6 \
gcc8
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.arch} eq "arm" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # disable unreliable clang versions for ARM
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set clist(clang11) {macports-clang-11}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend clist_unsupported \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clang90 clang10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set clist(clang90) {macports-clang-9.0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set clist(clang10) {macports-clang-10}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set clist(clang11) {macports-clang-11}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # gcc 9+ only available on macOS10.7 (Darwin11) and newer
# However, gcc9+ builds fail on MacOS 10.7, so only enable for MacOS 10.8+.
if { ${os.arch} eq "arm" } {
</pre><pre style='margin:0'>
</pre>