Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpich: pin to 4.0.3 for os.major <= 16 #17702

Merged
merged 1 commit into from Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 13 additions & 3 deletions science/mpi-doc/Portfile
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
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