<pre style='margin:0'>
Eric A. Borisch (eborisch) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e0ff7b8767aefa97bc7a2e12d96927af2d03cd09">https://github.com/macports/macports-ports/commit/e0ff7b8767aefa97bc7a2e12d96927af2d03cd09</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 e0ff7b8767a mpich: Update to 3.4.1, move (back) to ch3 (#9903)
</span>e0ff7b8767a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e0ff7b8767aefa97bc7a2e12d96927af2d03cd09
</span>Author: Eric A. Borisch <borisch.eric@mayo.edu>
AuthorDate: Tue Feb 2 09:41:38 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> mpich: Update to 3.4.1, move (back) to ch3 (#9903)
</span>---
science/mpich/Portfile | 29 +++++++++++++++++------------
science/mpich/files/mpich-gccdevel-fortran | 11 +++++++++++
2 files changed, 28 insertions(+), 12 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 8b8a7c1de7e..5ce58aab342 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;'>@@ -8,8 +8,7 @@ PortGroup legacysupport 1.1
</span>
# make sure to keep in sync with mpi-doc
name mpich
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Note multiple revisions in Portfile (for various sub-ports to reduce builds)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.4.1
</span> revision 0
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,9 +36,9 @@ homepage https://www.mpich.org/
</span> master_sites ${homepage}static/downloads/${version}
checksums \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 1407ba488c3be54acfa133cb6b2aefa115183e3c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 ce5e238f0c3c13ab94a64936060cff9964225e3af99df1ea11b130f20036c24b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 30716482
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 e1ada31903d2ad7a6331aabbbf67eb058366d9d7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8836939804ef6d492bcee7d54abafd6477d2beca247157d92688654d13779727 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 30720928
</span>
livecheck.type regex
livecheck.regex {href=.([0-9.p]+)/}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -75,6 +74,7 @@ if { ${os.major} < 16 } {
</span> if { ${os.major} > 10 } {
set clist(gcc9) {macports-gcc-9}
set clist(gcc10) {macports-gcc-10}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set clist(gccdevel) {macports-gcc-devel}
</span> }
# clang 6+ only available on macOS10.9 (Darwin13) and newer
if { ${os.major} > 12 } {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -154,6 +154,10 @@ configure.args --disable-dependency-tracking \
</span> --enable-versioning \
--with-pm=hydra \
--with-thread-package=posix \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-device=ch3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-hwloc-prefix=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-nemesis-shm-collectives \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-alloca \
</span> "F90FLAGS='' F90=''"
variant threads description {Build with full thread support} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -237,6 +241,12 @@ if {${name} ne ${subport} && [string first "-devel" $subport] < 0} {
</span> configure.env-append \
BASH_SHELL=/bin/bash
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant tuned description {Build with more optimizations} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --enable-fast=O2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-fast=all
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append -fomit-frame-pointer -O2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # setting xFLAGS resulting in mpicc, etc. always using these flags
# setting MPICHLIB_xFLAGS only uses them for building the library
foreach env_var {CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -327,7 +337,7 @@ if {${name} ne ${subport} && [string first "-devel" $subport] < 0} {
</span> } {}
default_variants-append +fortran
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${cname} eq "gcc10"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${cname} eq "gcc10" || ${cname} eq "gccdevel"} {
</span> # see https://lists.mpich.org/pipermail/discuss/2020-January/005862.html
# see https://github.com/pmodels/mpich/issues/4300
# see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91556
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -357,7 +367,7 @@ if {${name} ne ${subport} && [string first "-devel" $subport] < 0} {
</span> configure.args-append lt_cv_ld_force_load=no
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset gcc10]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset gcc10] || [variant_isset gccdevel]} {
</span> # see https://lists.mpich.org/pipermail/discuss/2020-January/005862.html
# see https://github.com/pmodels/mpich/issues/4300
# see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91556
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -409,11 +419,6 @@ pre-built packages for ${subport} by running:
</span> --with-pm=gforker
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant tuned description {Build with more optimizations} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --enable-fast=O2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-fast=all
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append MPICHLIB_CFLAGS='-fomit-frame-pointer -O2'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> } else {
depends_lib-append port:${name}-default
conflicts-append mpich-devel
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/mpich/files/mpich-gccdevel-fortran b/science/mpich/files/mpich-gccdevel-fortran
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e7e741dc190
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/mpich/files/mpich-gccdevel-fortran
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/mpicc-mpich-gccdevel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/mpichversion-mpich-gccdevel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/mpicxx-mpich-gccdevel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/mpiexec-mpich-gccdevel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/mpirun-mpich-gccdevel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/mpif77-mpich-gccdevel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/mpif90-mpich-gccdevel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/parkill-mpich-gccdevel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lib/mpich-gccdevel/pkgconfig/mpich.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/mpifort-mpich-gccdevel
</span></pre><pre style='margin:0'>
</pre>