summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-cluster/mpich/ChangeLog9
-rw-r--r--sys-cluster/mpich/Manifest12
-rw-r--r--sys-cluster/mpich/mpich-3.1.3.ebuild114
3 files changed, 128 insertions, 7 deletions
diff --git a/sys-cluster/mpich/ChangeLog b/sys-cluster/mpich/ChangeLog
index 1f49c31e7ecc..817a9ff6d569 100644
--- a/sys-cluster/mpich/ChangeLog
+++ b/sys-cluster/mpich/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/mpich
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich/ChangeLog,v 1.41 2013/07/09 22:37:55 jsbronder Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich/ChangeLog,v 1.42 2014/10/16 04:50:05 jsbronder Exp $
+
+*mpich-3.1.3 (16 Oct 2014)
+
+ 16 Oct 2014; Justin Bronder <jsbronder@gentoo.org> +mpich-3.1.3.ebuild:
+ bump, #480760
*mpich-3.0.4 (09 Jul 2013)
diff --git a/sys-cluster/mpich/Manifest b/sys-cluster/mpich/Manifest
index fcea87ba8a15..1ee2ceddb7ac 100644
--- a/sys-cluster/mpich/Manifest
+++ b/sys-cluster/mpich/Manifest
@@ -2,13 +2,15 @@
Hash: SHA256
DIST mpich-3.0.4.tar.gz 10921075 SHA256 cf638c85660300af48b6f776e5ecd35b5378d5905ec5d34c3da7a27da0acf0b3 SHA512 f9d8b2cf561fe5f85c12512ef4dd7b0cf5ec8b53ddb07bfa0d1db2e3c8ae0382c77e0661f46b82ec96b05d18ea2d25328bb84e9528ac06e5925f30ec8ef030d0 WHIRLPOOL 52c811d1adcba26424bb3f05b7b97faff16ab3762782474fcde5f49e9ca77155fb91d80967120d9277eed2adb116443afe444671eb6315a610587d55ac4ec9ed
+DIST mpich-3.1.3.tar.gz 11487313 SHA256 afb690aa828467721e9d9ab233fe00c68cae2b7b930d744cb5f7f3eb08c8602c SHA512 3071d75e925808c13ea528aaff81a2ee44a4eb9732c74005a0cedd5a710aeafc691d30c7a035ae0aba14bd2b837c1c788202a7612599d3ffac8e5a9299467c09 WHIRLPOOL ade5a2ab7a98a3ee353a0b41ad8c57b8676ea7e381e625c01237519c88e9e16c5330cf6c569707ded26462022dd8647ba0a24dc2c1559240781b0e4fa1c69511
EBUILD mpich-3.0.4.ebuild 2644 SHA256 50e1252e7b310c9f5cd6644e3f54cb446d97aa291eeaf74ea13489de73c4769e SHA512 d7941b4f3b3f449d252b0f850cfdbd5a24a8c9eb382aa979e1186d0205e50082e393c97d87c3275686e292970d2e4fb1dcb63cf9c991aebc0ead75f8fb0fc058 WHIRLPOOL 161916f9dcee87e0925a61e467247e626c1f05f546d7a97a87438c1c875948fc3041ba5c33cf9db0c7ede143edef097195968351254fe2c86d390eb7abae4afd
-MISC ChangeLog 386 SHA256 f9b3518b29a343af72054274b33455256ee6689612e6fa42be1becac85c873bc SHA512 d4be09f9524d6d16044a78c9e37f38f7682753e9a316826aa5c8ab1880c75a197e796a75853b389a4eb9f41bbf92e1870735cc3a07d32c8c7e7064eb0485e200 WHIRLPOOL 6e22673b1c4c6c81adfe45fd1364dbf0eb2ee8c2a50a7c0534b5d59034b574528def0329bf8c2a39df38995b241390f85baca7d9603e4d5f830c1de4243bf011
+EBUILD mpich-3.1.3.ebuild 2650 SHA256 bbbedcebf74e7a5a41c224b8bb1748dd73b3b2d7d7a2325bf186e38436913405 SHA512 839e30457650ef687deae678b06a4942215cb19ec619be50b31ebd1ba32903ebaf9147770323609b0444be972725900955aab523fa741c063cebfbdf113e2fe9 WHIRLPOOL afee70941bcf6e81aa9679e9ce43cffa672906bec1a5eb82d5d4081184cfd759f0531adf51ec9a0d9991a720433b7932054b5145f864058c2f18becf75951861
+MISC ChangeLog 505 SHA256 45322c86f8ea9fa355570caf9d514b6b8600694593db41b98351adbabd171388 SHA512 7e7bca21e062da07cc9b565a975585ce485bf5c2d15356d53dbfc926bc34d2e2a84c770b28495d93441eb0d602e30fd4cfc89462394dd17c7d25794a99dbf56e WHIRLPOOL 0de3986739b2d3ac1972b3e0cb39874a77f1f4de629b5bc348fba066daac462c886d74febefd24981a60e708e1bb82bb85cb82062fc3e3c2db867cde4bbb967a
MISC metadata.xml 534 SHA256 9c6e52d38dc9621ae72de1b02ed6d59ee0b7397d968bfcedf582fd7d1d16ef5a SHA512 f3696869af563685acafb9753cf120e6d02de8d5719bbcba747f648565d952d25a0071ee9da70ed6d16f47bc964d8f0379257cd9e2700118bd9dee194fd4651d WHIRLPOOL 7bc49c4e233426726e01b2e79c1409e91dc77812873867806bad04d6164e8d77f50c9b40030aeb095b6707e8c1fe9fa8ca079860bbc8b8df22c019ee8b92488e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iEYEAREIAAYFAlHckXIACgkQ4MrvBE1wQ8lcDwCfYGIcVCyr1SRDnc/bk5xPj3vS
-8V0AnjPJOEQcVcY+M50vaR0GaBPbtlwL
-=PeP2
+iEYEAREIAAYFAlQ/Tn4ACgkQ4MrvBE1wQ8mx3gCgltQu23sXaDv3tF+4yhAuNgM3
+ExUAmwfTDTjVQRkapC6XVoW+cRPmDTwI
+=1m2Z
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/mpich/mpich-3.1.3.ebuild b/sys-cluster/mpich/mpich-3.1.3.ebuild
new file mode 100644
index 000000000000..acd54ba5b569
--- /dev/null
+++ b/sys-cluster/mpich/mpich-3.1.3.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich/mpich-3.1.3.ebuild,v 1.1 2014/10/16 04:50:05 jsbronder Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit fortran-2
+
+MY_PV=${PV/_/}
+DESCRIPTION="A high performance and portable MPI implementation"
+HOMEPAGE="http://www.mpich.org/"
+SRC_URI="http://www.mpich.org/static/downloads/${PV}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="mpich"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+cxx doc fortran mpi-threads romio threads"
+
+COMMON_DEPEND="
+ dev-libs/libaio
+ >=sys-apps/hwloc-1.9
+ romio? ( net-fs/nfs-utils )"
+
+DEPEND="${COMMON_DEPEND}
+ dev-lang/perl
+ sys-devel/libtool"
+
+RDEPEND="${COMMON_DEPEND}
+ !sys-cluster/mpich2
+ !sys-cluster/openmpi"
+
+S="${WORKDIR}"/${PN}-${MY_PV}
+
+pkg_setup() {
+ FORTRAN_STANDARD="77 90"
+ fortran-2_pkg_setup
+
+ if use mpi-threads && ! use threads; then
+ ewarn "mpi-threads requires threads, assuming that's what you want"
+ fi
+}
+
+src_prepare() {
+ # Using MPICHLIB_LDFLAGS doesn't seem to fully work.
+ sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
+ src/packaging/pkgconfig/mpich.pc.in \
+ src/env/*.in \
+ || die
+}
+
+src_configure() {
+ local c="--enable-shared"
+
+ # The configure statements can be somewhat confusing, as they
+ # don't all show up in the top level configure, however, they
+ # are picked up in the children directories.
+
+ if use mpi-threads; then
+ # MPI-THREAD requries threading.
+ c="${c} --with-thread-package=pthreads"
+ c="${c} --enable-threads=runtime"
+ else
+ if use threads ; then
+ c="${c} --with-thread-package=pthreads"
+ else
+ c="${c} --with-thread-package=none"
+ fi
+ c="${c} --enable-threads=single"
+ fi
+
+ c="${c} --sysconfdir=${EPREFIX}/etc/${PN}"
+ c="${c} --docdir=${EPREFIX}/usr/share/doc/${PF}"
+
+ export MPICHLIB_CFLAGS=${CFLAGS}
+ export MPICHLIB_CPPFLAGS=${CPPFLAGS}
+ export MPICHLIB_CXXFLAGS=${CXXFLAGS}
+ export MPICHLIB_FFLAGS=${FFLAGS}
+ export MPICHLIB_FCFLAGS=${FCFLAGS}
+ export MPICHLIB_LDFLAGS=${LDFLAGS}
+ unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
+
+ econf ${c} \
+ --with-pm=hydra \
+ --disable-mpe \
+ --disable-fast \
+ --enable-smpcoll \
+ --enable-versioning \
+ --with-hwloc-prefix=/usr \
+ $(use_enable romio) \
+ $(use_enable cxx) \
+ $(use_enable fortran f77) \
+ $(use_enable fortran fc)
+}
+
+src_test() {
+ emake -j1 check
+}
+
+src_install() {
+ default
+
+ dodir /usr/share/doc/${PF}
+ dodoc README{,.envvar} CHANGES RELEASE_NOTES
+ newdoc src/pm/hydra/README README.hydra
+ if use romio; then
+ newdoc src/mpi/romio/README README.romio
+ fi
+
+ if ! use doc; then
+ rm -rf "${D}"usr/share/doc/${PF}/www*
+ fi
+}