[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / parallel / mpi-ch

File: [cvs.NetBSD.org] / pkgsrc / parallel / mpi-ch / options.mk (download)

Revision 1.2, Mon Apr 15 21:40:17 2013 UTC (7 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.1: +5 -4 lines

Changes 3.0.3:
A new stable release of MPICH, 3.0.3, is now available for download. This release adds several performance features for MPI-RMA and fixes several bugs present in 3.0.2. Please use this release instead of 3.0.2.

# $NetBSD: options.mk,v 1.2 2013/04/15 21:40:17 adam Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.mpich
PKG_SUPPORTED_OPTIONS=	debug mpich-mpd threads
PKG_SUGGESTED_OPTIONS=	threads

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+=	--enable-g=debug	# problems
INSTALL_UNSTRIPPED=	yes
.endif

.if !empty(PKG_OPTIONS:Mthreads)
CONFIGURE_ARGS+=	--with-thread-package=posix # aka pthreads
.include "../../mk/pthread.buildlink3.mk"
.endif

# Allow coexistance of MPICH2 and musicpd by disabling MPICH2 parts:
.if !empty(PKG_OPTIONS:Mmpich-mpd)
CONFLICTS+=		musicpd-[0-9]*	# installs bin/mpd
CONFIGURE_ARGS+=	--with-pm=hydra:mpd:gforker
CONFIGURE_ARGS+=	--with-python=python${PYVERSSUFFIX}
PLIST_SRC+=		PLIST.mpd
REPLACE_PYTHON+=	src/pm/mpd/*.py src/pm/mpd/test/*.py
.include "../../lang/python/application.mk"
.endif

PLIST_SRC+=	PLIST