# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortGroup compiler_blacklist_versions 1.0
PortGroup legacysupport 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
categories science parallel net
description A High Performance Message Passing Library
long_description Open MPI is a project combining technologies and resources \
from several other projects (FT-MPI, LA-MPI, LAM/MPI, and \
PACX-MPI) in order to build the best MPI library available. A \
completely new MPI-2 compliant implementation, Open MPI offers \
advantages for system and software vendors, application developers \
and computer science researchers.
homepage https://www.open-mpi.org/
set subdir ompi/v${branch}/downloads/
master_sites https://www.open-mpi.org/software/${subdir}
checksums rmd160 a9b7730d31e77e8d8d49204f9945d24f2dd54072 \
sha256 cce7b6d20522849301727f81282201d609553103ac0b09162cf28d102efb9709 \
livecheck.url http://www.open-mpi.org/
livecheck.regex Open MPI v(\[0-9\.\]+) released
if {[string first "-devel" $subport] > 0} {
version ${branch}.999-${base}
distname openmpi-v${branch}.x-${base}-${tag}
master_sites http://www.open-mpi.org/nightly/v${branch}.x \
http://www.open-mpi.de/nightly/v${branch}.x
checksums rmd160 65d03a8e8cb897ffb288eca36f4e2419cc119c81 \
sha256 d90dce8cadf9344b989e8b44ceadd3e8f878effc99c8a800f4ab250a071233b1 \
livecheck.version ${base}
livecheck.url [lindex ${master_sites} 0]
livecheck.regex nightly/open-mpi/v${branch}.x/openmpi-v${branch}.x-(\[0-9\]+-\[0-9a-f\]+)
# As OpenMPI creates compiler wrappers, there are lots of
# variants for what compiler the user would like to wrap.