FreeBSD Bugzilla – Attachment 114019 Details for
Bug 155655
[patch] science/meep Add Option to support MPI build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
meep_stast.txt
meep_stast.txt (text/plain; charset="KOI8-R"), 2.23 KB, created by
devel
on 2011-04-20 10:51:21 UTC
(
hide
)
Description:
meep_stast.txt
Filename:
MIME Type:
Creator:
devel
Created:
2011-04-20 10:51:21 UTC
Size:
2.23 KB
patch
obsolete
>--- Makefile.orig 2011-03-22 12:45:44.000000000 +0600 >+++ Makefile 2011-03-22 13:10:54.000000000 +0600 >@@ -7,7 +7,7 @@ > > PORTNAME= meep > PORTVERSION= 1.1.1 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= science > MASTER_SITES= http://ab-initio.mit.edu/meep/ > >@@ -17,7 +17,7 @@ > USE_GMAKE= yes > GNU_CONFIGURE= yes > USE_FORTRAN= yes >-USE_GCC= 4.4+ >+USE_GCC= 4.5 > USE_ICONV= yes > USE_GETTEXT= yes > USE_AUTOTOOLS+= libltdl >@@ -27,11 +27,27 @@ > CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" LDFLAGS="${LDFLAGS}" > > BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash \ >- harminv:${PORTSDIR}/science/harminv >+ harminv:${PORTSDIR}/science/harminv \ >+ gsed:${PORTSDIR}/textproc/gsed > LIB_DEPENDS+= guile.20:${PORTSDIR}/lang/guile \ > blas.2:${PORTSDIR}/math/blas \ > ctl.4:${PORTSDIR}/science/libctl \ > hdf5.0:${PORTSDIR}/science/hdf5 > RUN_DEPENDS+= harminv:${PORTSDIR}/science/harminv > >-.include <bsd.port.mk> >+OPTIONS= OPENMPI "Enable MPI support using openmpi" On >+ >+.include <bsd.port.pre.mk> >+ >+.if defined(WITH_OPENMPI) >+BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpiCC:${PORTSDIR}/net/openmpi >+RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi >+CONFIGURE_ARGS+=--with-mpi >+CONFIGURE_ENV+= MPICXX=${LOCALBASE}/mpi/openmpi/bin/mpiCC >+PLIST_SUB+= MPI="" NOMPI="@comment " >+.else >+CONFIGURE_ARGS+=--without-mpi >+PLIST_SUB+= MPI="@comment " NOMPI="" >+.endif >+ >+.include <bsd.port.post.mk> >--- distinfo.orig 2009-12-21 10:58:03.000000000 +0600 >+++ distinfo 2011-03-22 12:47:02.000000000 +0600 >@@ -1,3 +1,2 @@ >-MD5 (meep-1.1.1.tar.gz) = 415e0cd312b6caa22b5dd612490e1ccf > SHA256 (meep-1.1.1.tar.gz) = 7a97b5555da1f9ea2ec6eed5c45bd97bcd6ddbd54bdfc181f46c696dffc169f2 > SIZE (meep-1.1.1.tar.gz) = 751244 >--- pkg-plist.orig 2011-03-22 12:54:12.000000000 +0600 >+++ pkg-plist 2011-03-22 12:55:29.000000000 +0600 >@@ -1,10 +1,14 @@ >-bin/meep >+%%NOMPI%%bin/meep >+%%MPI%%bin/meep-mpi > include/meep.hpp > include/meep/mympi.hpp > include/meep/vec.hpp >-lib/libmeep.a >-lib/libmeep.la >-lib/pkgconfig/meep.pc >+%%NOMPI%%lib/libmeep.a >+%%MPI%%lib/libmeep_mpi.a >+%%NOMPI%%lib/libmeep.la >+%%MPI%%lib/libmeep_mpi.la >+%%NOMPI%%lib/pkgconfig/meep.pc >+%%MPI%%lib/pkgconfig/meep_mpi.pc > share/meep/casimir.scm > share/meep/meep-enums.scm > share/meep/meep.scm
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 155655
:
114018
| 114019 |
114020