<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/761aa219b4c63882ffa9bb23f060c53eaac42e27">https://github.com/macports/macports-ports/commit/761aa219b4c63882ffa9bb23f060c53eaac42e27</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 761aa219b4c63882ffa9bb23f060c53eaac42e27
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun May 3 07:53:56 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> mpich: allow build with the gfortran part of GCC 10
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See https://lists.mpich.org/pipermail/discuss/2020-January/005862.html
</span><span style='display:block; white-space:pre;color:#404040;'> See https://github.com/pmodels/mpich/issues/4300
</span><span style='display:block; white-space:pre;color:#404040;'> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91556
</span>---
science/mpich/Portfile | 13 +++++++++++++
1 file changed, 13 insertions(+)
<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 99afda4..e1f9417 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;'>@@ -309,6 +309,12 @@ if {${subport} != ${name}} {
</span> } {}
default_variants-append +fortran
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${cname} eq "gcc10"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://lists.mpich.org/pipermail/discuss/2020-January/005862.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://github.com/pmodels/mpich/issues/4300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91556
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.fflags-append -fallow-argument-mismatch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
if {[ variant_isset tuned ] && ${os.major} >= 14} {
if {![ file exists ${prefix}/bin/clang ]} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -350,6 +356,13 @@ if {${subport} != ${name}} {
</span> if {[variant_isset g95]} {
configure.args-append lt_cv_ld_force_load=no
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset gcc10]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://lists.mpich.org/pipermail/discuss/2020-January/005862.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://github.com/pmodels/mpich/issues/4300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91556
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.fflags-append -fallow-argument-mismatch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
</pre><pre style='margin:0'>
</pre>