diff options
author | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-03-15 13:54:57 +0000 |
---|---|---|
committer | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-03-15 13:54:57 +0000 |
commit | cbd4e9afab2405656c4d85b28028dc654ba36d75 (patch) | |
tree | b04e4435298d9a787975187ac0bfd0416e61b502 | |
parent | bumped numpy-0.9.6 (diff) | |
download | sci-cbd4e9afab2405656c4d85b28028dc654ba36d75.tar.gz sci-cbd4e9afab2405656c4d85b28028dc654ba36d75.tar.bz2 sci-cbd4e9afab2405656c4d85b28028dc654ba36d75.zip |
openmpi-1.0.1.ebuild: added pic use flag and corrected fortran stuff
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@120 32389bae-6d03-0410-99cf-db05cde120eb
-rw-r--r-- | sys-cluster/openmpi/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/openmpi/Manifest | 4 | ||||
-rw-r--r-- | sys-cluster/openmpi/openmpi-1.0.1.ebuild | 8 |
3 files changed, 11 insertions, 8 deletions
diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog index 724f9edad..8eda05660 100644 --- a/sys-cluster/openmpi/ChangeLog +++ b/sys-cluster/openmpi/ChangeLog @@ -2,8 +2,9 @@ # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ -*openmpi-1.0.1 (10 Mar 2006) +*openmpi-1.0.1 (15 Mar 2006) - 10 Mar 2006; Sebastien Fabbro <seb@ist.utl.pt> + 15 Mar 2006; Sebastien Fabbro <seb@ist.utl.pt> +openmpi-1.0.1.ebuild, +metadata.xml - Initial import. Thanks for kyron for his input. + Initial import. Closing bug #126295. + Thanks for Eric Thibodeau <kyron@neuralbs.com> for his input. diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest index 8716d93f4..c6407d4bd 100644 --- a/sys-cluster/openmpi/Manifest +++ b/sys-cluster/openmpi/Manifest @@ -1,4 +1,4 @@ -MD5 2e8838a816dfe933c7cb3c6e69a889fc ChangeLog 288 +MD5 5857c1a5ccb8ec1a1b24454e7f74a2d9 ChangeLog 342 MD5 914db9dc84c9ae3fdc732b8fb13fe21c files/digest-openmpi-1.0.1 67 MD5 c92d111706d0769823a1ff19c0abaacf metadata.xml 541 -MD5 589ef487e04c565b64fdc124b7acdcbd openmpi-1.0.1.ebuild 1733 +MD5 59bedcb1851fbc0b74b8121f37add319 openmpi-1.0.1.ebuild 1849 diff --git a/sys-cluster/openmpi/openmpi-1.0.1.ebuild b/sys-cluster/openmpi/openmpi-1.0.1.ebuild index 25ac39d1e..ed2c8b76e 100644 --- a/sys-cluster/openmpi/openmpi-1.0.1.ebuild +++ b/sys-cluster/openmpi/openmpi-1.0.1.ebuild @@ -4,7 +4,7 @@ inherit flag-o-matic toolchain-funcs fortran -IUSE="crypt pbs fortran threads static" +IUSE="crypt pbs fortran threads static pic" MY_P=${P/-mpi} S=${WORKDIR}/${MY_P} @@ -34,7 +34,7 @@ src_compile() { einfo "OpenMPI has an overwhelming count of configuration options." einfo "Don't forget the EXTRA_ECONF environment variable can let you" einfo "specify configure options." - einfo "${A} will be installed in /usr/lib/openmpi/${PV}" + einfo "${A} will be installed in /usr/$(get_libdir)/${PN}/${PV}-${COMPILER}" einfo local myconf="" @@ -42,13 +42,15 @@ src_compile() { use threads && myconf="${myconf} --with-threads=posix --enable-mpi-threads" use pbs && append-ldflags "-L/usr/$(get_libdir)/pbs" use static && myconf="${myconf} --enable-static --disable-shared" + use fortran || myconf="${myconf} --disable-mpi-f77 --disable-mpi-f90" COMPILER="gcc-$(gcc-version)" econf \ + $(use_with pic) \ --prefix=/usr/$(get_libdir)/${PN}/${PV}-${COMPILER} \ --datadir=/usr/share/${PN}/${PV}-${COMPILER} \ - --program-suffix=${PV}-${COMPILER} \ + --program-suffix=-${PV}-${COMPILER} \ --enable-pretty-print-stacktrace \ --sysconfdir=/etc/${P} \ ${myconf} || die "econf failed" |