[76863] trunk/dports/science/mpich2/Portfile
eborisch at macports.org
eborisch at macports.org
Thu Mar 10 21:56:25 PST 2011
Revision: 76863
http://trac.macports.org/changeset/76863
Author: eborisch at macports.org
Date: 2011-03-10 21:56:24 -0800 (Thu, 10 Mar 2011)
Log Message:
-----------
mpich2: Upgrade to 1.3.2p1; take ownership
Modified Paths:
--------------
trunk/dports/science/mpich2/Portfile
Modified: trunk/dports/science/mpich2/Portfile
===================================================================
--- trunk/dports/science/mpich2/Portfile 2011-03-11 04:33:02 UTC (rev 76862)
+++ trunk/dports/science/mpich2/Portfile 2011-03-11 05:56:24 UTC (rev 76863)
@@ -3,11 +3,11 @@
PortSystem 1.0
name mpich2
-version 1.2.1p1
-revision 1
+version 1.3.2p1
categories science parallel net
platforms darwin
-maintainers nomaintainer
+maintainers eborisch \
+ openmaintainer
description Message Passing Interface (MPI) Library
long_description \
MPICH2 is an implementation of the Message-Passing Interface (MPI). The \
@@ -19,21 +19,28 @@
homepage http://www.mcs.anl.gov/research/projects/mpich2/
master_sites ${homepage}downloads/tarballs/${version}/
-checksums md5 fa7e8dc7c5fb60395ab26c5b239321ca \
- sha1 26bd5620b45bc654aa3945755d11450be63d650c \
- rmd160 810cc486b65e4bcf977ac8d96ccbbcea87e0cbaa
+checksums md5 ae512ce9da2e8a3cc7c344712349eceb \
+ sha1 1ab05a516c82d622747b137cec83ae549aa3bebe \
+ rmd160 33a7f55f9f5521133b89d06c4d4388d4938ff8d4
-patchfiles patch-Makefile.in patch-src-util-createshlib.in
+patchfiles patch-Makefile.in \
+ patch-src-util-createshlib.in
# the default include-dir conflicts with openmpi!
configure.args --with-thread-package=posix \
- --enable-timer-type=gettimeofday \
+ --enable-timer-type=mach_absolute_time \
--enable-cxx \
--mandir=${prefix}/share/man \
--docdir=${prefix}/share/doc/${name} \
--htmldir=${prefix}/share/doc/${name} \
--includedir=${prefix}/include/${name} \
- --disable-f77 --disable-f90
+ --disable-f77 --disable-fc \
+ --disable-romio \
+ --with-mpe \
+ --with-device=ch3:nemesis \
+ "F90FLAGS='' F90=''" \
+ --with-pm=hydra \
+ --enable-shared
universal_variant no
@@ -45,35 +52,41 @@
configure.fflags "-i4"
configure.f90 "${prefix}/bin/g95"
configure.f90flags "-i4"
- configure.args-append --enable-f77 --enable-f90
+ configure.args-append --enable-f77 --enable-fc
+ configure.args-delete --disable-f77 --disable-fc
}
variant gcc45 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc45} conflicts g95 gcc42 gcc43 gcc44 {
depends_lib-append port:gcc45
configure.compiler macports-gcc-4.5
- configure.args-append --enable-f77 --enable-f90
+ configure.args-append --enable-f77 --enable-fc
+ configure.args-delete --disable-f77 --disable-fc
}
variant gcc44 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc44} conflicts g95 gcc42 gcc43 gcc45 {
depends_lib-append port:gcc44
configure.compiler macports-gcc-4.4
- configure.args-append --enable-f77 --enable-f90
+ configure.args-append --enable-f77 --enable-fc
+ configure.args-delete --disable-f77 --disable-fc
}
variant gcc43 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts g95 gcc42 gcc44 gcc45 {
depends_lib-append port:gcc43
configure.compiler macports-gcc-4.3
- configure.args-append --enable-f77 --enable-f90
+ configure.args-append --enable-f77 --enable-fc
+ configure.args-delete --disable-f77 --disable-fc
}
variant gcc42 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc42} conflicts g95 gcc43 gcc44 gcc45 {
depends_lib-append port:gcc42
configure.compiler macports-gcc-4.2
- configure.args-append --enable-f77 --enable-f90
+ configure.args-append --enable-f77 --enable-fc
+ configure.args-delete --disable-f77 --disable-fc
}
-variant gforker description {Use gforker process manager instead of the default mpd} {
+variant gforker description {Use gforker process manager instead of the default hydra} {
configure.args-append --with-pm=gforker
+ configure.args-append --with-pm=hydra
}
platform darwin {
@@ -92,10 +105,14 @@
depends_lib-append port:python27
configure.args-append --with-python=${prefix}/bin/python2.7
}
-if {![variant_isset python25] && ![variant_isset python27]} {
- default_variants +python26
+if {![variant_isset python25] && ![variant_isset python26]} {
+ default_variants +python27
}
+variant default_mpi description {Install as defalt MPI -- conflict with OpenMPI} {
+ configure.args-delete --includedir=${prefix}/include/${name}
+}
+
post-destroot {
# Fix misplaced documentation directories
foreach d {jumpshot-4 www4} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110310/3fa24877/attachment.html>
More information about the macports-changes
mailing list