public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-cluster/mpich2: ChangeLog mpich2-1.4_rc2.ebuild
@ 2011-05-04  3:29 Justin Bronder (jsbronder)
  0 siblings, 0 replies; 3+ messages in thread
From: Justin Bronder (jsbronder) @ 2011-05-04  3:29 UTC (permalink / raw
  To: gentoo-commits

jsbronder    11/05/04 03:29:40

  Modified:             ChangeLog
  Added:                mpich2-1.4_rc2.ebuild
  Log:
  Version bump (#362655).  Use system hwloc.  Use hydra instead of mpd for pm (#145367).  Disable more tests as recommended by upstream.
  
  (Portage version: 2.1.9.46/cvs/Linux x86_64)

Revision  Changes    Path
1.68                 sys-cluster/mpich2/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?rev=1.68&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?rev=1.68&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?r1=1.67&r2=1.68

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- ChangeLog	16 Dec 2010 15:54:28 -0000	1.67
+++ ChangeLog	4 May 2011 03:29:40 -0000	1.68
@@ -1,6 +1,12 @@
 # ChangeLog for sys-cluster/mpich2
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.67 2010/12/16 15:54:28 jlec Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.68 2011/05/04 03:29:40 jsbronder Exp $
+
+*mpich2-1.4_rc2 (04 May 2011)
+
+  04 May 2011; Justin Bronder <jsbronder@gentoo.org> +mpich2-1.4_rc2.ebuild:
+  Version bump (#362655). Use system hwloc. Use hydra instead of mpd for pm
+  (#145367). Disable more tests as recommended by upstream.
 
   16 Dec 2010; Justin Lecher <jlec@gentoo.org> mpich2-1.2.1_p1-r1.ebuild:
   Removal of fortran.eclass, #348851



1.1                  sys-cluster/mpich2/mpich2-1.4_rc2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild?rev=1.1&content-type=text/plain

Index: mpich2-1.4_rc2.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild,v 1.1 2011/05/04 03:29:40 jsbronder Exp $

EAPI=2

inherit eutils toolchain-funcs

MY_PV=${PV/_/}
DESCRIPTION="MPICH2 - A portable MPI implementation"
HOMEPAGE="http://www.mcs.anl.gov/research/projects/mpich2/index.php"
SRC_URI="http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${MY_PV}/${PN}-${MY_PV}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="+cxx debug doc fortran threads romio mpi-threads"

COMMON_DEPEND="dev-libs/libaio
	>=sys-apps/hwloc-1.1.1
	romio? ( net-fs/nfs-utils )"

DEPEND="${COMMON_DEPEND}
	dev-lang/perl
	sys-devel/libtool"

RDEPEND="${COMMON_DEPEND}
	!sys-cluster/openmpi
	!sys-cluster/lam-mpi"

S="${WORKDIR}"/${PN}-${MY_PV}

pkg_setup() {
	if use mpi-threads && ! use threads; then
		ewarn "mpi-threads requires threads, assuming that's what you want"
	fi
}

src_prepare() {
	# Cannot use bin/mpiexec as hydra is built by autotools and is
	# a shell wrapped executable.
	sed -i \
		-e "s,@MPIEXEC@,${S}/src/pm/hydra/mpiexec.hydra,g" \
		$(find ./test/ -name 'Makefile.in') || die

	# #293665
	# We could use MPICH2LIB_XFLAGS here and unset the cooresponding ones
	# in the environment, however that's messy and doesn't for for LDFLAGS.
	sed -i \
		-e 's,\(.*=\ *\)"@WRAPPER_[A-Z]*FLAGS@",\1"",' \
		src/env/*.conf.in || die
}

src_configure() {
	local c="--enable-shared --enable-sharedlibs=gcc"
	local romio_conf

	# 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.

	use debug && c="${c} --enable-g=all --enable-debuginfo"

	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

	# enable f90 support for appropriate compilers
	case "$(tc-getFC)" in
	    gfortran|if*)
			c="${c} --enable-f77 --enable-fc";;
	    g77)
			c="${c} --enable-f77 --disable-fc";;
	esac

	c="${c} --sysconfdir=/etc/${PN}"
	econf ${c} ${romio_conf} \
		--docdir=/usr/share/doc/${PF} \
		--with-pm=hydra \
		--disable-mpe \
		--with-hwloc-prefix=/usr \
		--disable-fast \
		--enable-smpcoll \
		$(use_enable romio) \
		$(use_enable cxx) \
		|| die
}

src_compile() {
	# Oh, the irony.
	# http://wiki.mcs.anl.gov/mpich2/index.php/Frequently_Asked_Questions#Q:_The_build_fails_when_I_use_parallel_make.
	# https://trac.mcs.anl.gov/projects/mpich2/ticket/711
	emake -j1 || die
}

src_test() {
	if ! use romio; then
		# These tests in errhan/ rely on MPI::File ...which is in romio
		echo "" > test/mpi/errors/cxx/errhan/testlist
	fi

	# See #362655 and comments in the testlist files.
	# large_message:  only on machines with > 8gb of ram
	# bcastlength:  This is an extension to MPI that's not necessary
	# non_zero_root: performance test
	# Also note that I/O tests may fail on non-local filesystems.
	sed -i '/^[# ]*large_message/d' test/mpi/pt2pt/testlist || die
	sed -i '/^[# ]*bcastlength/d' test/mpi/errors/coll/testlist || die
	sed -i '/^[# ]*non_zero_root/d' test/mpi/perf/testlist || die

	if use debug; then
		# http://bugs.gentoo.org/show_bug.cgi?id=362655#c8
		sed -i '/^[# ]*scancel/d' test/mpi/pt2pt/testlist || die
		sed -i '/^[# ]*pscancel/d' test/mpi/pt2pt/testlist || die
		sed -i '/^[# ]*cancelrecv/d' test/mpi/pt2pt/testlist || die
	fi

	emake -j1 \
		CC="${S}"/bin/mpicc \
		CXX="${S}"/bin/mpicxx \
		F77="${S}"/bin/mpif77 \
		FC="${S}"/bin/mpif90 \
		testing
}

src_install() {
	emake DESTDIR="${D}" install || die

	dodir /usr/share/doc/${PF}
	dodoc COPYRIGHT README CHANGES RELEASE_NOTES || die
	newdoc src/pm/mpd/README README.hydra|| die
	if use romio; then
		newdoc src/mpi/romio/README README.romio || die
	fi

	if ! use doc; then
		rm -rf "${D}"/usr/share/doc/${PF}/www*
	fi
}






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-cluster/mpich2: ChangeLog mpich2-1.4_rc2.ebuild
@ 2011-05-05 19:51 Justin Bronder (jsbronder)
  0 siblings, 0 replies; 3+ messages in thread
From: Justin Bronder (jsbronder) @ 2011-05-05 19:51 UTC (permalink / raw
  To: gentoo-commits

jsbronder    11/05/05 19:51:56

  Modified:             ChangeLog mpich2-1.4_rc2.ebuild
  Log:
  Re-enable some tests
  
  (Portage version: 2.1.9.46/cvs/Linux x86_64)

Revision  Changes    Path
1.69                 sys-cluster/mpich2/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?rev=1.69&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?rev=1.69&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?r1=1.68&r2=1.69

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- ChangeLog	4 May 2011 03:29:40 -0000	1.68
+++ ChangeLog	5 May 2011 19:51:56 -0000	1.69
@@ -1,6 +1,9 @@
 # ChangeLog for sys-cluster/mpich2
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.68 2011/05/04 03:29:40 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.69 2011/05/05 19:51:56 jsbronder Exp $
+
+  05 May 2011; Justin Bronder <jsbronder@gentoo.org> mpich2-1.4_rc2.ebuild:
+  Re-enable some tests
 
 *mpich2-1.4_rc2 (04 May 2011)
 



1.4                  sys-cluster/mpich2/mpich2-1.4_rc2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild?r1=1.3&r2=1.4

Index: mpich2-1.4_rc2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mpich2-1.4_rc2.ebuild	4 May 2011 03:58:13 -0000	1.3
+++ mpich2-1.4_rc2.ebuild	5 May 2011 19:51:56 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild,v 1.3 2011/05/04 03:58:13 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild,v 1.4 2011/05/05 19:51:56 jsbronder Exp $
 
 EAPI=2
 
@@ -52,7 +52,7 @@
 }
 
 src_configure() {
-	local c="--enable-shared --enable-sharedlibs=gcc"
+	local c="--enable-shared"
 	local romio_conf
 
 	# The configure statements can be somewhat confusing, as they
@@ -103,11 +103,6 @@
 }
 
 src_test() {
-	if ! use romio; then
-		# These tests in errhan/ rely on MPI::File ...which is in romio
-		echo "" > test/mpi/errors/cxx/errhan/testlist
-	fi
-
 	# See #362655 and comments in the testlist files.
 	# large_message:  only on machines with > 8gb of ram
 	# bcastlength:  This is an extension to MPI that's not necessary
@@ -117,13 +112,6 @@
 	sed -i '/^[# ]*bcastlength/d' test/mpi/errors/coll/testlist || die
 	sed -i '/^[# ]*non_zero_root/d' test/mpi/perf/testlist || die
 
-	if use debug; then
-		# http://bugs.gentoo.org/show_bug.cgi?id=362655#c8
-		sed -i '/^[# ]*scancel/d' test/mpi/pt2pt/testlist || die
-		sed -i '/^[# ]*pscancel/d' test/mpi/pt2pt/testlist || die
-		sed -i '/^[# ]*cancelrecv/d' test/mpi/pt2pt/testlist || die
-	fi
-
 	emake -j1 \
 		CC="${S}"/bin/mpicc \
 		CXX="${S}"/bin/mpicxx \






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-cluster/mpich2: ChangeLog mpich2-1.4_rc2.ebuild
@ 2011-05-10 14:31 Justin Bronder (jsbronder)
  0 siblings, 0 replies; 3+ messages in thread
From: Justin Bronder (jsbronder) @ 2011-05-10 14:31 UTC (permalink / raw
  To: gentoo-commits

jsbronder    11/05/10 14:31:04

  Modified:             ChangeLog mpich2-1.4_rc2.ebuild
  Log:
  Correct fix for #293665
  
  (Portage version: 2.1.9.46/cvs/Linux x86_64)

Revision  Changes    Path
1.70                 sys-cluster/mpich2/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?rev=1.70&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?rev=1.70&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/ChangeLog?r1=1.69&r2=1.70

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- ChangeLog	5 May 2011 19:51:56 -0000	1.69
+++ ChangeLog	10 May 2011 14:31:03 -0000	1.70
@@ -1,6 +1,9 @@
 # ChangeLog for sys-cluster/mpich2
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.69 2011/05/05 19:51:56 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.70 2011/05/10 14:31:03 jsbronder Exp $
+
+  10 May 2011; Justin Bronder <jsbronder@gentoo.org> mpich2-1.4_rc2.ebuild:
+  Correct fix for #293665
 
   05 May 2011; Justin Bronder <jsbronder@gentoo.org> mpich2-1.4_rc2.ebuild:
   Re-enable some tests



1.5                  sys-cluster/mpich2/mpich2-1.4_rc2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild?r1=1.4&r2=1.5

Index: mpich2-1.4_rc2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mpich2-1.4_rc2.ebuild	5 May 2011 19:51:56 -0000	1.4
+++ mpich2-1.4_rc2.ebuild	10 May 2011 14:31:03 -0000	1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild,v 1.4 2011/05/05 19:51:56 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.4_rc2.ebuild,v 1.5 2011/05/10 14:31:03 jsbronder Exp $
 
 EAPI=2
 
@@ -48,7 +48,7 @@
 	# in the environment, however that's messy and doesn't for for LDFLAGS.
 	sed -i \
 		-e 's,\(.*=\ *\)"@WRAPPER_[A-Z]*FLAGS@",\1"",' \
-		src/env/*.conf.in || die
+		src/env/*.in || die
 }
 
 src_configure() {






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-10 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04  3:29 [gentoo-commits] gentoo-x86 commit in sys-cluster/mpich2: ChangeLog mpich2-1.4_rc2.ebuild Justin Bronder (jsbronder)
  -- strict thread matches above, loose matches on Subject: below --
2011-05-05 19:51 Justin Bronder (jsbronder)
2011-05-10 14:31 Justin Bronder (jsbronder)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox