Upgrade to 1.3.

Changelog at
<http://www.mcs.anl.gov/research/projects/mpich2/about/index.php?s=news>

PR:		ports/151867
Submitted by:	/me
This commit is contained in:
Thierry Thomas 2010-11-14 22:00:10 +00:00
parent ea26835666
commit 08016c3ebb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264533
4 changed files with 27 additions and 47 deletions

View File

@ -6,19 +6,18 @@
#
PORTNAME= mpich2
DISTVERSION= 1.2.1p1
PORTVERSION= 1.3
PORTEPOCH= 5
CATEGORIES= net parallel
MASTER_SITES= http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${DISTVERSION}/
MASTER_SITES= http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${PORTVERSION}/
DIST_SUBDIR= mpich
#PATCH_SITES= ftp://ftp.mcs.anl.gov/pub/mpi/mpich2-patch/
#PATCHFILES=
MAINTAINER= ports@FreeBSD.org
COMMENT= A portable implementation of MPI-1 and MPI-2
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
#BUILD_DEPENDS= doctext:${PORTSDIR}/textproc/sowing
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
#-----------------------------------------------------------------------
# You may define these options:
@ -40,7 +39,7 @@ USE_PERL5_BUILD=yes
USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-romio --enable-sharedlibs=gcc \
CONFIGURE_ARGS= --enable-romio --enable-shared \
--docdir=${DOCSDIR}
CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexecinfo ${PTHREAD_LIBS}" \
@ -56,15 +55,16 @@ MAKE_JOBS_UNSAFE= yes
CONFLICTS= lam-7.* mpiexec-0.*
USE_FORTRAN= yes
F90FLAGS+= ${FFLAGS}
CONFIGURE_ENV+= F90="${FC}" F90FLAGS="${F90FLAGS}"
FCFLAGS+= ${FFLAGS}
CONFIGURE_ENV+= FC="${FC}" FCFLAGS="${FCFLAGS}"
USE_LDCONFIG= yes
SUB_FILES= pkg-message
VERSO= 1.2
PLIST_SUB= VER=${VERSO}
VERSO= 2.0
VERSOM= ${VERSO:R}
PLIST_SUB= VER=${VERSO} VERM=${VERSOM}
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+= --disable-graphics
WITHOUT_JAVA= yes
@ -95,8 +95,6 @@ CONFIGURE_ARGS+= --with-pmi=simple --with-pm=mpd
PLIST_SUB+= PM_MPD="" PM_SMPD="@comment "
.endif
LIBSSO= fmpich mpich mpichcxx mpichf90
THREAD2FIX= configure test/mpi/threads/comm/Makefile.in \
test/mpi/threads/pt2pt/Makefile.in \
src/mpe2/src/logging/configure \
@ -107,9 +105,9 @@ LOCALBASE2FIX= src/mpe2/src/slog2sdk/trace_rlog/configure \
src/mpe2/src/graphics/configure
DOC2PATCH= Makefile.in src/mpe2/sbin/mpeinstall.in \
src/openpa/Makefile.in src/mpi/romio/util/romioinstall.in
CONFPFX2FIX1= man/man1/mpd.1 src/pm/mpd/mpd.py
CONFPFX2FIX2= README doc/installguide/install.tex.vin \
src/pm/mpd/mpdlib.py src/pm/mpd/mpdroot.c
CONFPFX2FIX1= src/pm/mpd/mpd.py
CONFPFX2FIX2= doc/installguide/install.tex.vin \
src/pm/mpd/mpdroot.c
.include <bsd.port.pre.mk>
@ -182,14 +180,6 @@ post-configure:
${WRKSRC}/src/packaging/pkgconfig/mpich2-ch3.pc
post-install:
.for lib in ${LIBSSO}
${MV} ${PREFIX}/lib/lib${lib}.so.1.2 ${PREFIX}/lib/lib${lib}.so.1
${LN} -sf ${PREFIX}/lib/lib${lib}.so.1 ${PREFIX}/lib/lib${lib}.so
${LN} -sf ${PREFIX}/lib/lib${lib}.so.1 ${PREFIX}/lib/lib${lib}.so.1.2
.endfor
.if !defined(NOPORTDOCS)
${RM} ${MANPREFIX}/man/man1/mpd.1.bak
.endif
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/bin
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/bin
@${ECHO_CMD} "MPD_SECRETWORD=change_on_install" > ${WRKDIR}/mpd.conf.dist

View File

@ -1,3 +1,2 @@
MD5 (mpich/mpich2-1.2.1p1.tar.gz) = fa7e8dc7c5fb60395ab26c5b239321ca
SHA256 (mpich/mpich2-1.2.1p1.tar.gz) = a55d1682ee0b5ebbacc047f60620ed291e0a9b3ded3eaeb6a2c81a1598c4c964
SIZE (mpich/mpich2-1.2.1p1.tar.gz) = 18014859
SHA256 (mpich/mpich2-1.3.tar.gz) = c76e869045ce274ee0494b0c72d884f9e2d3176a4689d362e684754ae0430e63
SIZE (mpich/mpich2-1.3.tar.gz) = 19394388

View File

@ -1,22 +1,5 @@
MAN1= \
MPI.1 \
Zeroconf.1 \
mpd.1 \
mpdallexit.1 \
mpdboot.1 \
mpdcheck.1 \
mpdchkpyver.1 \
mpdcleanup.1 \
mpdexit.1 \
mpdgdbdrv.1 \
mpdhelp.1 \
mpdkilljob.1 \
mpdlib.1 \
mpdlistjobs.1 \
mpdman.1 \
mpdringtest.1 \
mpdsigjob.1 \
mpdtrace.1 \
mpicc.1 \
mpicxx.1 \
mpiexec.1 \

View File

@ -1,3 +1,4 @@
bin/bt2line
bin/check_callstack
@comment SLOG-2 tools are not installed if NOPORTDOCS is set
%%JAVA%%bin/clog2TOslog2
@ -167,7 +168,7 @@ include/primitives/opa_unsafe.h
lib/libampe.a
lib/libfmpich.a
lib/libfmpich.so
lib/libfmpich.so.1
lib/libfmpich.so.%%VERM%%
lib/libfmpich.so.%%VER%%
lib/liblmpe.a
lib/libmpe.a
@ -178,17 +179,24 @@ lib/libmpe_nompi_null.a
lib/libmpe_null.a
lib/libmpich.a
lib/libmpich.so
lib/libmpich.so.1
lib/libmpich.so.%%VERM%%
lib/libmpich.so.%%VER%%
lib/libmpichcxx.a
lib/libmpichcxx.so
lib/libmpichcxx.so.1
lib/libmpichcxx.so.%%VERM%%
lib/libmpichcxx.so.%%VER%%
lib/libmpichf90.a
lib/libmpichf90.so
lib/libmpichf90.so.1
lib/libmpichf90.so.%%VERM%%
lib/libmpichf90.so.%%VER%%
lib/libmpl.a
lib/libmpl.la
lib/libmpl.so
lib/libmpl.so.1
lib/libopa.a
lib/libopa.la
lib/libopa.so
lib/libopa.so.1
lib/libtmpe.a
%%JAVA%%lib/logconvertor.jar
lib/mpe_prof.o