mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
- Add option to use /net/openmpi instead of net/mpich2
- portlint PR: ports/156331 Submitted by: Klaus Aehlig <aehlig@linta.de> Approved by: maho (mentor)
This commit is contained in:
parent
925b91e971
commit
9302dab78d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275956
@ -14,21 +14,27 @@ MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A package for parallel (mpi) unstructured graph partitioning
|
||||
|
||||
.if !defined(WITH_OPENMPI)
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
|
||||
.else
|
||||
RUN_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
|
||||
BUILD_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi
|
||||
MAKE_ARGS += CC=${LOCALBASE}/mpi/openmpi/bin/mpicc LD=${LOCALBASE}/mpi/openmpi/bin/mpicc
|
||||
.endif
|
||||
|
||||
ALL_TARGET=
|
||||
|
||||
do-install:
|
||||
@${MKDIR} $(PREFIX)/lib/parmetis
|
||||
$(INSTALL_DATA) $(WRKSRC)/libmetis.a $(PREFIX)/lib/parmetis
|
||||
$(INSTALL_DATA) $(WRKSRC)/libparmetis.a $(PREFIX)/lib/parmetis
|
||||
@${MKDIR} $(PREFIX)/include/parmetis
|
||||
$(INSTALL_DATA) $(WRKSRC)/parmetis.h $(PREFIX)/include/parmetis
|
||||
@${MKDIR} ${PREFIX}/lib/parmetis
|
||||
${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib/parmetis
|
||||
${INSTALL_DATA} ${WRKSRC}/libparmetis.a ${PREFIX}/lib/parmetis
|
||||
@${MKDIR} ${PREFIX}/include/parmetis
|
||||
${INSTALL_DATA} ${WRKSRC}/parmetis.h ${PREFIX}/include/parmetis
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
$(INSTALL_DATA) ${WRKSRC}/Manual/manual.ps ${DOCSDIR}
|
||||
$(INSTALL_DATA) ${WRKSRC}/Manual/manual.pdf ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Manual/manual.ps ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Manual/manual.pdf ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user