summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2013-07-09 22:37:55 +0000
committerJustin Bronder <jsbronder@gentoo.org>2013-07-09 22:37:55 +0000
commit3f05306cc7339fc97221f59c03f61ef286a5e28f (patch)
treeac44f17dbc467b305a2ac9b84a5e2db532981d5b /sys-cluster/mpich
parentStable for HPPA (bug #474276). (diff)
downloadgentoo-2-3f05306cc7339fc97221f59c03f61ef286a5e28f.tar.gz
gentoo-2-3f05306cc7339fc97221f59c03f61ef286a5e28f.tar.bz2
gentoo-2-3f05306cc7339fc97221f59c03f61ef286a5e28f.zip
version bump and upstream package rename from mpich2
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 4D7043C9)
Diffstat (limited to 'sys-cluster/mpich')
-rw-r--r--sys-cluster/mpich/ChangeLog10
-rw-r--r--sys-cluster/mpich/Manifest4
-rw-r--r--sys-cluster/mpich/metadata.xml18
-rw-r--r--sys-cluster/mpich/mpich-3.0.4.ebuild114
4 files changed, 146 insertions, 0 deletions
diff --git a/sys-cluster/mpich/ChangeLog b/sys-cluster/mpich/ChangeLog
new file mode 100644
index 000000000000..1f49c31e7ecc
--- /dev/null
+++ b/sys-cluster/mpich/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*mpich-3.0.4 (09 Jul 2013)
+
+ 09 Jul 2013; Justin Bronder <jsbronder@gentoo.org> +mpich-3.0.4.ebuild,
+ +metadata.xml:
+ version bump and upstream package rename from mpich2
+
diff --git a/sys-cluster/mpich/Manifest b/sys-cluster/mpich/Manifest
new file mode 100644
index 000000000000..1fb9a01dfc28
--- /dev/null
+++ b/sys-cluster/mpich/Manifest
@@ -0,0 +1,4 @@
+DIST mpich-3.0.4.tar.gz 10921075 SHA256 cf638c85660300af48b6f776e5ecd35b5378d5905ec5d34c3da7a27da0acf0b3 SHA512 f9d8b2cf561fe5f85c12512ef4dd7b0cf5ec8b53ddb07bfa0d1db2e3c8ae0382c77e0661f46b82ec96b05d18ea2d25328bb84e9528ac06e5925f30ec8ef030d0 WHIRLPOOL 52c811d1adcba26424bb3f05b7b97faff16ab3762782474fcde5f49e9ca77155fb91d80967120d9277eed2adb116443afe444671eb6315a610587d55ac4ec9ed
+EBUILD mpich-3.0.4.ebuild 2543 SHA256 af14c34c3aedc6a015dab5eaac00b5220b8fd0d0ad6b3aefc360abfc69ecf4a3 SHA512 58691cde28843dd15d7a6dc940d33245755a56567df09430fb50d17ffb3c07eebf76c59520dbfeaca65c6e0c5e6e57b1ec600b129dde83f5699887a17de4ad48 WHIRLPOOL 2e7a36297fd040598903c005c362df3620df6c7d536128684c3fbc193703baeda43dc8b8c10f5449f8de150070363b4c0ecd2858a159512097e1eb88f3e17920
+MISC ChangeLog 293 SHA256 099c6983976d8bc749b02dd10fb26b0f7fdcbc19328768ba429d4af921c0e773 SHA512 cca3378823c4ade9acfea9fe8de63a89463e66cd34ce91f7133a979c0784f0044d6e4979880dbaf5c4ec23ed6f94261165a6921a99bfea5acb43a2ee8b93859a WHIRLPOOL 8c1326f9fe851105be2df78fc48f2adb07c840f9d276e1b3cb13f89388718b44a854d8ae65bb329b9849c4fca750baed91ed20ee407151828e1ce46f04f7445d
+MISC metadata.xml 534 SHA256 9c6e52d38dc9621ae72de1b02ed6d59ee0b7397d968bfcedf582fd7d1d16ef5a SHA512 f3696869af563685acafb9753cf120e6d02de8d5719bbcba747f648565d952d25a0071ee9da70ed6d16f47bc964d8f0379257cd9e2700118bd9dee194fd4651d WHIRLPOOL 7bc49c4e233426726e01b2e79c1409e91dc77812873867806bad04d6164e8d77f50c9b40030aeb095b6707e8c1fe9fa8ca079860bbc8b8df22c019ee8b92488e
diff --git a/sys-cluster/mpich/metadata.xml b/sys-cluster/mpich/metadata.xml
new file mode 100644
index 000000000000..1738cc60e6e8
--- /dev/null
+++ b/sys-cluster/mpich/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cluster</herd>
+ <maintainer>
+ <email>jsbronder@gentoo.org</email>
+ <name>Justin Bronder</name>
+ </maintainer>
+ <maintainer>
+ <email>balaji@mcs.anl.gov</email>
+ <name>Pavan Balaji</name>
+ <description>Upstream Contact</description>
+ </maintainer>
+ <use>
+ <flag name="mpi-threads">Enable MPI_THREAD_MULTIPLE</flag>
+ <flag name="romio">Build the ROMIO MPI-IO component</flag>
+ </use>
+</pkgmetadata>
diff --git a/sys-cluster/mpich/mpich-3.0.4.ebuild b/sys-cluster/mpich/mpich-3.0.4.ebuild
new file mode 100644
index 000000000000..5c93eddba59d
--- /dev/null
+++ b/sys-cluster/mpich/mpich-3.0.4.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich/mpich-3.0.4.ebuild,v 1.1 2013/07/09 22:37:55 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
+ 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
+}