Skip to content

Commit

Permalink
mpich: pin to 4.0.3 for os.major <= 16 (#17702)
Browse files Browse the repository at this point in the history
  • Loading branch information
eborisch committed Feb 14, 2023
1 parent 59d5066 commit e3fc632
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
16 changes: 13 additions & 3 deletions science/mpi-doc/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,19 @@ long_description {*}${description}
master_sites ${homepage}static/downloads/${version}/
distname mpich-${version}

checksums rmd160 c4e46f2edfbe4dd617b359597203d448856fc569 \
sha256 8b1ec63bc44c7caa2afbb457bc5b3cd4a70dbe46baba700123d67c48dc5ab6a0 \
size 38511339
if {${os.platform} eq "darwin" && ${os.major} > 16 } {
# 4.1+ expects os/lock.h; added in 10.13
checksums \
rmd160 c4e46f2edfbe4dd617b359597203d448856fc569 \
sha256 8b1ec63bc44c7caa2afbb457bc5b3cd4a70dbe46baba700123d67c48dc5ab6a0 \
size 38511339
} else {
version 4.0.3
checksums \
rmd160 7a65f2a1d080c2b7812295a8fc0b77ec1609b166 \
sha256 17406ea90a6ed4ecd5be39c9ddcbfac9343e6ab4f77ac4e8c5ebe4a3e3b6c501 \
size 38135700
}

dist_subdir mpich

Expand Down
17 changes: 13 additions & 4 deletions science/mpich/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,19 @@ long_description MPICH is a high-performance and widely portable\
homepage https://www.mpich.org/
master_sites ${homepage}static/downloads/${version}

checksums \
rmd160 c4e46f2edfbe4dd617b359597203d448856fc569 \
sha256 8b1ec63bc44c7caa2afbb457bc5b3cd4a70dbe46baba700123d67c48dc5ab6a0 \
size 38511339
if {${os.platform} eq "darwin" && ${os.major} > 16 } {
# 4.1+ expects os/lock.h; added in 10.13
checksums \
rmd160 c4e46f2edfbe4dd617b359597203d448856fc569 \
sha256 8b1ec63bc44c7caa2afbb457bc5b3cd4a70dbe46baba700123d67c48dc5ab6a0 \
size 38511339
} else {
version 4.0.3
checksums \
rmd160 7a65f2a1d080c2b7812295a8fc0b77ec1609b166 \
sha256 17406ea90a6ed4ecd5be39c9ddcbfac9343e6ab4f77ac4e8c5ebe4a3e3b6c501 \
size 38135700
}

livecheck.type regex
livecheck.regex {href=.([0-9.p]+)/}
Expand Down

1 comment on commit e3fc632

@barracuda156
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eborisch Thank you. Do you think we can come up with a fix though?

I have also opened an issue with upstream of libfabric: ofiwg/libfabric#8496

Please sign in to comment.