diff options
author | Justin Bronder <jsbronder@gentoo.org> | 2008-07-08 23:16:08 +0000 |
---|---|---|
committer | Justin Bronder <jsbronder@gentoo.org> | 2008-07-08 23:16:08 +0000 |
commit | ec11cd8df7e5f3af619de3b39bdb8571e815d2e8 (patch) | |
tree | fd46b5fa0d8dbba44fa1164df5200b9e65154e90 /sys-cluster/openmpi | |
parent | bump libvirt, add init scripts, add myself as maintainer, new patch to fix is... (diff) | |
download | historical-ec11cd8df7e5f3af619de3b39bdb8571e815d2e8.tar.gz historical-ec11cd8df7e5f3af619de3b39bdb8571e815d2e8.tar.bz2 historical-ec11cd8df7e5f3af619de3b39bdb8571e815d2e8.zip |
Removing the smp USE flag, see #224099 starting at comment 14.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-cluster/openmpi')
-rw-r--r-- | sys-cluster/openmpi/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/openmpi/Manifest | 9 | ||||
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.2.6-r1.ebuild | 97 |
3 files changed, 109 insertions, 5 deletions
diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog index 4b437eb43e3e..8a35e04fe2bf 100644 --- a/sys-cluster/openmpi/ChangeLog +++ b/sys-cluster/openmpi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-cluster/openmpi # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.24 2008/06/25 14:53:03 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.25 2008/07/08 23:16:08 jsbronder Exp $ + +*openmpi-1.2.6-r1 (08 Jul 2008) + + 08 Jul 2008; Justin Bronder <jsbronder@gentoo.org> + +openmpi-1.2.6-r1.ebuild: + Removing the smp USE flag, see #224099 starting at comment 14. 25 Jun 2008; Justin Bronder <jsbronder@gentoo.org> openmpi-1.2.6.ebuild: Fix the romio use flag so romio can be disabled as it was always built before. diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest index 693a23e18a81..96a09193c057 100644 --- a/sys-cluster/openmpi/Manifest +++ b/sys-cluster/openmpi/Manifest @@ -4,13 +4,14 @@ Hash: SHA1 DIST openmpi-1.2.5.tar.bz2 3554443 RMD160 609a2070d69bbcde883d2f0d1d6364c5903ae59f SHA1 c217798453782cb9e25d58daf845aa6fdc62fcbf SHA256 3c3aed872c17165131c77bd7a12fe8aec776cb23da946b7d12840db93ab79322 DIST openmpi-1.2.6.tar.bz2 3556676 RMD160 abb72266e44cb5e3a2450a4936f3744edef77cf4 SHA1 b2960e2fd7432816cb70302a6b6c2f55fbd62cab SHA256 e5b27af5a153a257b1562a97bbf7164629161033934558cefd8e1e644a9f73d3 EBUILD openmpi-1.2.5.ebuild 2404 RMD160 b1b34826f7642556f67e98ce8e82b195906074c3 SHA1 cfbb569fc286eb43433193879608c36f87b1c6b9 SHA256 c6f8211413d9cfb9914fbc81fb1be5bcf6b118297adc152fa8f63fbcb0120a08 +EBUILD openmpi-1.2.6-r1.ebuild 2541 RMD160 5fa3f95b98694c94859d271ad9a9a4a30153f3bc SHA1 e6d3faf559dfb3c5129a72e157f07f35aeb5e994 SHA256 9927d2be3ed663d73f500818ca8f1971bb2667f843ceca72db2ee98ff8024f0d EBUILD openmpi-1.2.6.ebuild 2570 RMD160 80f78f33a907315027b97273d7a15aec68555d00 SHA1 963703fbe9a106cc1d623c92a7b0d04b1d934ff3 SHA256 54c7a8b9d796ec143f161bd552fe6536b555fb72499f11c2a937fb486d39f5c7 -MISC ChangeLog 4636 RMD160 37c583fde31b7da5dbb61574f7091810467314e9 SHA1 2f920fe632430af67e35b48459c8b5dc5edddbb3 SHA256 283b622ce1c1095934b3efba5fb3e1122f9a1da36a265c6264341ede70ac2243 +MISC ChangeLog 4816 RMD160 02bb99f80091e50eeca5b4765d164a0ab7d7fec2 SHA1 ef3658bccc1acef5e9a9f57f3e0ca436dca07359 SHA256 a9925df76183e923ca3c5ef96af61a5b63b35309bfe7dc559a3e2ad04bc0b8fd MISC metadata.xml 231 RMD160 37dd476ccaceaa37796cf29fd01af8fcfa2b4c61 SHA1 87cab1ccad4db7724c4292e4f32dd19accdcf2fa SHA256 b5305a12d2e3e9f9fdf645e98b0108c1bd8f5b5da32589a25bf7b0f0d74f1213 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkhiWtEACgkQ4MrvBE1wQ8niGwCfZw9/LHr+XSLBO2CYVK1iEF95 -C6sAnAp3hj2v0DFQ4QvY18K3D6aiBpsp -=5+6u +iEYEARECAAYFAkhz8+YACgkQ4MrvBE1wQ8mfFwCgn4BjJkH2VhONQaYtXFZX/97G +kWMAnR2c6IPXdcJtWHY84uA4XHsLHW/W +=B8Oj -----END PGP SIGNATURE----- diff --git a/sys-cluster/openmpi/openmpi-1.2.6-r1.ebuild b/sys-cluster/openmpi/openmpi-1.2.6-r1.ebuild new file mode 100644 index 000000000000..74eb3212e731 --- /dev/null +++ b/sys-cluster/openmpi/openmpi-1.2.6-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.6-r1.ebuild,v 1.1 2008/07/08 23:16:08 jsbronder Exp $ + +inherit eutils multilib flag-o-matic toolchain-funcs fortran + +MY_P=${P/-mpi} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="A high-performance message passing library (MPI)" +HOMEPAGE="http://www.open-mpi.org" +SRC_URI="http://www.open-mpi.org/software/ompi/v1.2/downloads/${MY_P}.tar.bz2" +LICENSE="BSD" +SLOT="0" +RESTRICT="threads? ( test )" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="pbs fortran nocxx threads romio heterogeneous ipv6" +RDEPEND="pbs? ( sys-cluster/torque ) + !sys-cluster/mpich + !sys-cluster/lam-mpi + !sys-cluster/mpich2" +DEPEND="${RDEPEND}" + +pkg_setup() { + if use threads; then + ewarn + ewarn "WARNING: use of threads is still disabled by default in" + ewarn "upstream builds." + ewarn "You may stop now and set USE=-threads" + ewarn + epause 5 + fi + + elog + elog "OpenMPI has an overwhelming count of configuration options." + elog "Don't forget the EXTRA_ECONF environment variable can let you" + elog "specify configure options if you find them necessary." + elog + + if use fortran; then + FORTRAN="g77 gfortran ifc" + fortran_pkg_setup + fi +} + +src_compile() { + local myconf=" + --sysconfdir=/etc/${PN} + --without-xgrid + --enable-pretty-print-stacktrace + --enable-orterun-prefix-by-default + --without-slurm" + + if use threads; then + myconf="${myconf} + --enable-mpi-threads + --with-progress-threads + --with-threads=posix" + fi + + if use fortran; then + if [[ "${FORTRANC}" = "g77" ]]; then + myconf="${myconf} --disable-mpi-f90" + elif [[ "${FORTRANC}" = "gfortran" ]]; then + # Because that's just a pain in the butt. + myconf="${myconf} --with-wrapper-fflags=-I/usr/include" + elif [[ "${FORTRANC}" = if* ]]; then + # Enabled here as gfortran compile times are huge with this enabled. + myconf="${myconf} --with-mpi-f90-size=medium" + fi + else + myconf="${myconf} + --disable-mpi-f90 + --disable-mpi-f77" + fi + + econf ${myconf} \ + $(use_enable !nocxx mpi-cxx) \ + $(use_enable romio io-romio) \ + $(use_enable heterogeneous) \ + $(use_with pbs tm) \ + $(use_enable ipv6) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "make install failed" + dodoc README AUTHORS NEWS VERSION +} + +src_test() { + # Doesn't work with the default src_test as the dry run (-n) fails. + cd "${S}" + emake -j1 check || die "emake check failed" +} |